Only pop up the config save error after main and settings screens.

This commit is contained in:
Henrik Rydgård committed 2021-08-07 10:47:11 +02:00
1 parent 86c5a17d1e
commit 96d04e582b
3 files changed
+7 -3

No files matched your search

-1
View File
@@ -1490,7 +1490,6 @@ bool Config::Save(const char *saveReason) {
if (!iniFile.Save(iniFilename_)) {
ERROR_LOG(LOADER, "Error saving config (%s)- can't write ini '%s'", saveReason, iniFilename_.c_str());
System_SendMessage("toast", "Failed to save settings!\nCheck permissions, or try to restart the device.");
return false;
}
INFO_LOG(LOADER, "Config saved (%s): '%s'", saveReason, iniFilename_.c_str());