mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-27 12:04:16 +01:00
Merge pull request #5376 from xperia64/save_default_controls
Actually save the input when clearing/resetting to default
This commit is contained in:
commit
76253063a3
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user