mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-11 13:18:13 +03:00
dont load freeactivities layouts if no frees
This commit is contained in:
parent
8448f36ed9
commit
e4714d748f
@ -794,7 +794,7 @@ void Synchronizer::syncMultipleLayoutsToActivities()
|
||||
}
|
||||
|
||||
//! discover ForFreeActivities layouts
|
||||
if (m_assignedLayouts.contains(Data::Layout::FREEACTIVITIESID)) {
|
||||
if (m_assignedLayouts.contains(Data::Layout::FREEACTIVITIESID) && freeRunningActivities().count()>0) {
|
||||
layoutNamesToLoad << m_assignedLayouts[Data::Layout::FREEACTIVITIESID];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user