1
0
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:
Michail Vourlakos 2020-08-30 21:31:13 +03:00
parent 8448f36ed9
commit e4714d748f

View File

@ -794,7 +794,7 @@ void Synchronizer::syncMultipleLayoutsToActivities()
} }
//! discover ForFreeActivities layouts //! 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]; layoutNamesToLoad << m_assignedLayouts[Data::Layout::FREEACTIVITIESID];
} }