properly sync up menus between windows of a same instance

This commit is contained in:
Arisotura
2024-10-27 16:21:09 +01:00
parent 94955aee81
commit d79d45a117
3 changed files with 38 additions and 9 deletions

View File

@ -89,6 +89,8 @@ public:
MainWindow* getMainWindow() { return mainWindow; }
MainWindow* getWindow(int id) { return windowList[id]; }
void doOnAllWindows(std::function<void(MainWindow*)> func, int exclude = -1);
Config::Table& getGlobalConfig() { return globalCfg; }
Config::Table& getLocalConfig() { return localCfg; }