Follow reordered taskbar pins in group shortcuts

This commit is contained in:
ajp_anton committed 2026-10-20 16:29:22 +00:00
1 parent dc2372ef3f
commit 535ac5b480
6 files changed
+180 -2

No files matched your search

+6 -1
View File
@@ -317,7 +317,12 @@ private:
}
m_panelLocation = panel.location;
m_model.setLauncherList(config.readEntry("launchers", QStringList()));
const QStringList launchers = config.readEntry("launchers", QStringList());
if (m_model.launcherList() != launchers) {
m_selection.cancel();
m_lastShortcut = -1;
m_model.setLauncherList(launchers);
}
m_model.setFilterByCurrentVirtualDesktop(config.readEntry("showOnlyCurrentDesktop", true));
m_model.setFilterByScreen(config.readEntry("showOnlyCurrentScreen", false));
m_model.setFilterByActivity(config.readEntry("showOnlyCurrentActivity", true));