fix restore, was not working on my machine (TM)

This commit is contained in:
iota97 committed 2023-02-01 15:53:20 +01:00
1 parent ee8868ed99
commit 0a6d48d108
1 file changed
+1 -2
+1 -2
View File
@@ -1797,8 +1797,7 @@ void Config::RestoreDefaults(RestoreSettingsBits whatToRestore) {
}
if (whatToRestore & RestoreSettingsBits::CONTROLS) {
if (File::Exists(controllerIniFilename_))
File::Delete(controllerIniFilename_);
KeyMap::RestoreDefault();
}
if (whatToRestore & RestoreSettingsBits::RECENT) {