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

This commit is contained in:
iota97 2023-02-01 15:53:20 +01:00
parent ee8868ed99
commit 0a6d48d108

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) {