1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-26 02:04:12 +03:00

plasmoid:do not store irrelevant launchers

--a delayed view layout initialization could store
irrelevant launchers from different lauchers group
into the Unique launchers group. This commit
fixes the case.
This commit is contained in:
Michail Vourlakos 2021-01-09 13:30:00 +02:00
parent b99f074522
commit 7639845717

View File

@ -195,7 +195,9 @@ Item {
} else {
plasmoid.configuration.launchers59 = _launchers.tasksModel.launcherList;
}
} else {
} else if (!latteView) {
// This way we make sure that a delayed viewLayout initialization does not store irrelevant launchers from different
// group to UNIQUE launchers group
plasmoid.configuration.launchers59 = _launchers.tasksModel.launcherList;
}
}