another try to fix #116

This commit is contained in:
titiger 2016-12-12 23:10:01 +01:00
parent 48b14eb687
commit 7a1a28f647
1 changed files with 2 additions and 1 deletions

View File

@ -566,7 +566,8 @@ void MenuStateOptions::mouseClick(int x, int y, MouseButton mouseButton){
showMessageBox(lang.getString("RestartNeeded"), lang.getString("FontSizeAdjustmentChanged"), false);
return;
}
reloadingUI=true;
sleep(100);
saveConfig();
//mainMenu->setState(new MenuStateRoot(program, mainMenu));
reloadUI();