From dd92db3fb0038fea598250948aee7233777dc878 Mon Sep 17 00:00:00 2001 From: Zach Hilman Date: Sat, 10 Nov 2018 17:09:33 -0500 Subject: configure_input: Properly update UI components on removal of player --- src/yuzu/configuration/configure_input.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/yuzu/configuration/configure_input.cpp b/src/yuzu/configuration/configure_input.cpp index 25066d4d9..7ee572761 100644 --- a/src/yuzu/configuration/configure_input.cpp +++ b/src/yuzu/configuration/configure_input.cpp @@ -149,6 +149,8 @@ void ConfigureInput::updateUIEnabled() { bool hit_disabled = false; for (auto* player : players_controller) { player->setDisabled(hit_disabled); + if (hit_disabled) + player->setCurrentIndex(0); if (!hit_disabled && player->currentIndex() == 0) hit_disabled = true; } -- cgit v1.2.3