Qt: Fix controller defaults resetting some system settings

This commit is contained in:
Connor McLaughlin 2022-07-23 18:37:47 +10:00
parent f07a6c243d
commit 322c0c4c74
1 changed files with 2 additions and 1 deletions

View File

@ -393,12 +393,13 @@ void QtHost::SetDefaultSettings(SettingsInterface& si, bool system, bool control
if (system)
{
System::SetDefaultSettings(si);
CommonHost::SetDefaultSettings(si);
EmuFolders::SetDefaults();
EmuFolders::Save(si);
}
if (controller)
{
CommonHost::SetDefaultSettings(si);
CommonHost::SetDefaultControllerSettings(si);
CommonHost::SetDefaultHotkeyBindings(si);
}