diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-11-10 23:09:33 +0100 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-11-19 05:22:36 +0100 |
commit | dd92db3fb0038fea598250948aee7233777dc878 (patch) | |
tree | 5287f060a661a8f9b33e5a426fcb04bc6443dca0 | |
parent | configure_input: Make None a controller option instead of checkbox (diff) | |
download | yuzu-dd92db3fb0038fea598250948aee7233777dc878.tar yuzu-dd92db3fb0038fea598250948aee7233777dc878.tar.gz yuzu-dd92db3fb0038fea598250948aee7233777dc878.tar.bz2 yuzu-dd92db3fb0038fea598250948aee7233777dc878.tar.lz yuzu-dd92db3fb0038fea598250948aee7233777dc878.tar.xz yuzu-dd92db3fb0038fea598250948aee7233777dc878.tar.zst yuzu-dd92db3fb0038fea598250948aee7233777dc878.zip |
-rw-r--r-- | src/yuzu/configuration/configure_input.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |