From 8d19e144cb46c258107d90d77fb8258a945031d9 Mon Sep 17 00:00:00 2001 From: xperia64 Date: Thu, 28 May 2020 20:03:29 -0400 Subject: [PATCH] Actually save the input when clearing/resetting to default --- src/citra_qt/configuration/configure_input.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/citra_qt/configuration/configure_input.cpp b/src/citra_qt/configuration/configure_input.cpp index 657f404f1a..74ed5d7bdf 100644 --- a/src/citra_qt/configuration/configure_input.cpp +++ b/src/citra_qt/configuration/configure_input.cpp @@ -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() {