Merge pull request #577 from PolyMC/fix/toolbar_🦀_fix
This commit is contained in:
commit
b191291737
@ -1868,6 +1868,9 @@ void MainWindow::globalSettingsClosed()
|
|||||||
updateMainToolBar();
|
updateMainToolBar();
|
||||||
updateToolsMenu();
|
updateToolsMenu();
|
||||||
updateStatusCenter();
|
updateStatusCenter();
|
||||||
|
// This needs to be done to prevent UI elements disappearing in the event the config is changed
|
||||||
|
// but PolyMC exits abnormally, causing the window state to never be saved:
|
||||||
|
APPLICATION->settings()->set("MainWindowState", saveState().toBase64());
|
||||||
update();
|
update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user