GUI: don't save layout periodically

This commit is contained in:
tildearrow 2022-09-08 13:16:57 -05:00
parent 7de165fd88
commit 773b63b810

View file

@ -2382,7 +2382,7 @@ void FurnaceGUI::toggleMobileUI(bool enable, bool force) {
if (mobileUI) { if (mobileUI) {
ImGui::GetIO().IniFilename=NULL; ImGui::GetIO().IniFilename=NULL;
} else { } else {
ImGui::GetIO().IniFilename=finalLayoutPath; ImGui::GetIO().IniFilename=NULL;
ImGui::LoadIniSettingsFromDisk(finalLayoutPath); ImGui::LoadIniSettingsFromDisk(finalLayoutPath);
} }
} }