aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authordiscip <[email protected]>2022-12-10 22:45:32 +0100
committerGitHub <[email protected]>2022-12-10 22:45:32 +0100
commitff088965d621a0e639fa2a7ba9da2ce8e60d74ac (patch)
treeabf2cc0210581c20951f69a975a415e8b1b3ee2f
parent372dac4cf56ec86934725f6918d8b337adae9e16 (diff)
downloadIronOS-ff088965d621a0e639fa2a7ba9da2ce8e60d74ac.tar.gz
IronOS-ff088965d621a0e639fa2a7ba9da2ce8e60d74ac.zip
after reset go to home screen
-rw-r--r--source/Core/Src/settingsGUI.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/Core/Src/settingsGUI.cpp b/source/Core/Src/settingsGUI.cpp
index a5b79656..303a82b5 100644
--- a/source/Core/Src/settingsGUI.cpp
+++ b/source/Core/Src/settingsGUI.cpp
@@ -720,6 +720,7 @@ static bool setResetSettings(void) {
if (userConfirmation(translatedString(Tr->SettingsResetWarning))) {
resetSettings();
warnUser(translatedString(Tr->ResetOKMessage), 10 * TICKS_SECOND);
+ return;
}
return false;
}