From aaa4822fcb60676473243619703c1af24a4d47b9 Mon Sep 17 00:00:00 2001 From: FearlessTobi Date: Wed, 3 Jun 2020 05:17:34 +0200 Subject: Actually save the input when clearing/resetting to default Co-Authored-By: xperia64 --- src/yuzu/configuration/configure_input_player.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/yuzu/configuration/configure_input_player.cpp b/src/yuzu/configuration/configure_input_player.cpp index e4eb5594b..a05fa64ba 100644 --- a/src/yuzu/configuration/configure_input_player.cpp +++ b/src/yuzu/configuration/configure_input_player.cpp @@ -480,7 +480,9 @@ void ConfigureInputPlayer::RestoreDefaults() { SetAnalogButton(params, analogs_param[analog_id], analog_sub_buttons[sub_button_id]); } } + UpdateButtonLabels(); + ApplyConfiguration(); } void ConfigureInputPlayer::ClearAll() { @@ -505,6 +507,7 @@ void ConfigureInputPlayer::ClearAll() { } UpdateButtonLabels(); + ApplyConfiguration(); } void ConfigureInputPlayer::UpdateButtonLabels() { -- cgit v1.2.3