Gui: Fix order of stylesheet applying

This commit is contained in:
Kacper Donat
2025-09-07 00:52:05 +02:00
committed by Chris Hennes
parent 08aeb5d65b
commit a09de19764
6 changed files with 13 additions and 42 deletions

View File

@@ -361,9 +361,6 @@ bool PreferencePackManager::apply(const std::string& preferencePackName) const
Gui::ToolBarManager* pToolbarMgr = Gui::ToolBarManager::getInstance();
pToolbarMgr->restoreState();
// We need to reload stylesheet to apply any changed style parameters
Gui::Application::Instance->reloadStyleSheet();
// TODO: Are there other things that have to be manually triggered?
}
return wasApplied;