1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-28 19:21:50 +03:00

update layoutsView when runningActivities changed

This commit is contained in:
Michail Vourlakos 2018-01-30 14:51:08 +02:00
parent 8aad360916
commit 22a844395b

View File

@ -143,6 +143,13 @@ LatteConfigDialog::LatteConfigDialog(QWidget *parent, DockCorona *corona)
connect(aboutAction, &QAction::triggered, m_corona, &DockCorona::aboutApplication); connect(aboutAction, &QAction::triggered, m_corona, &DockCorona::aboutApplication);
//! update all layouts view when runningActivities changed. This way we update immediately
//! the running Activities in Activities checkboxes which are shown as bold
connect(m_corona->activitiesConsumer(), &KActivities::Consumer::runningActivitiesChanged,
this, [&]() {
ui->layoutsView->update();
});
blockDeleteOnActivityStopped(); blockDeleteOnActivityStopped();
} }