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:
parent
8aad360916
commit
22a844395b
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user