settings changed detect part 1

This commit is contained in:
Eknous-P 2023-10-03 18:33:22 +04:00
parent 79f92fab68
commit 3ad0fe208d
3 changed files with 77 additions and 3 deletions

View file

@ -5531,12 +5531,14 @@ bool FurnaceGUI::loop() {
ImGui::CloseCurrentPopup();
settingsOpen=false;
willCommit=true;
settingsChanged=false;
}
ImGui::SameLine();
if (ImGui::Button("No")) {
ImGui::CloseCurrentPopup();
settingsOpen=false;
syncSettings();
settingsChanged=false;
}
ImGui::SameLine();
if (ImGui::Button("Cancel") || ImGui::IsKeyPressed(ImGuiKey_Escape)) {