settings change detect part 2

i hope i didnt miss anything
This commit is contained in:
Eknous-P 2023-10-03 18:59:41 +04:00
parent 3ad0fe208d
commit e8f1b36a1c
2 changed files with 256 additions and 33 deletions

View file

@ -5499,6 +5499,7 @@ bool FurnaceGUI::loop() {
reportError(fmt::sprintf("could NOT save layout! %s",strerror(errno))); reportError(fmt::sprintf("could NOT save layout! %s",strerror(errno)));
} }
} }
settingsChanged=true;
} }
ImGui::SameLine(); ImGui::SameLine();
if (ImGui::Button("No")) { if (ImGui::Button("No")) {
@ -5509,6 +5510,7 @@ bool FurnaceGUI::loop() {
if (ImGui::Button("Yes")) { if (ImGui::Button("Yes")) {
ImGui::CloseCurrentPopup(); ImGui::CloseCurrentPopup();
resetKeybinds(); resetKeybinds();
settingsChanged=true;
} }
ImGui::SameLine(); ImGui::SameLine();
if (ImGui::Button("No")) { if (ImGui::Button("No")) {
@ -5520,6 +5522,7 @@ bool FurnaceGUI::loop() {
ImGui::CloseCurrentPopup(); ImGui::CloseCurrentPopup();
resetColors(); resetColors();
applyUISettings(false); applyUISettings(false);
settingsChanged=true;
} }
ImGui::SameLine(); ImGui::SameLine();
if (ImGui::Button("No")) { if (ImGui::Button("No")) {

File diff suppressed because it is too large Load diff