Actually save the input when clearing/resetting to default

This commit is contained in:
xperia64 2020-05-28 20:03:29 -04:00
parent 61c8ea3fe9
commit 8d19e144cb

View File

@ -367,6 +367,9 @@ void ConfigureInput::RestoreDefaults() {
}
}
UpdateButtonLabels();
ApplyConfiguration();
Settings::SaveProfile(Settings::values.current_input_profile_index);
}
void ConfigureInput::ClearAll() {
@ -378,6 +381,9 @@ void ConfigureInput::ClearAll() {
analogs_param[analog_id].Clear();
}
UpdateButtonLabels();
ApplyConfiguration();
Settings::SaveProfile(Settings::values.current_input_profile_index);
}
void ConfigureInput::UpdateButtonLabels() {