summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid <25727384+ogniK5377@users.noreply.github.com>2019-09-21 11:58:22 +0200
committerGitHub <noreply@github.com>2019-09-21 11:58:22 +0200
commitc41365a56fede5d4903e5f5e9fab300b9316fc5f (patch)
tree206b192bfa9a26e470e762e1a1dde46913b0ff59
parentMerge pull request #2868 from ReinUsesLisp/fix-mipmaps (diff)
parentWhen docked mode is checked, uncheck "joycons docked" (diff)
downloadyuzu-c41365a56fede5d4903e5f5e9fab300b9316fc5f.tar
yuzu-c41365a56fede5d4903e5f5e9fab300b9316fc5f.tar.gz
yuzu-c41365a56fede5d4903e5f5e9fab300b9316fc5f.tar.bz2
yuzu-c41365a56fede5d4903e5f5e9fab300b9316fc5f.tar.lz
yuzu-c41365a56fede5d4903e5f5e9fab300b9316fc5f.tar.xz
yuzu-c41365a56fede5d4903e5f5e9fab300b9316fc5f.tar.zst
yuzu-c41365a56fede5d4903e5f5e9fab300b9316fc5f.zip
-rw-r--r--src/yuzu/configuration/configure_input.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu/configuration/configure_input.cpp b/src/yuzu/configuration/configure_input.cpp
index 7613197f2..f2977719c 100644
--- a/src/yuzu/configuration/configure_input.cpp
+++ b/src/yuzu/configuration/configure_input.cpp
@@ -182,6 +182,8 @@ void ConfigureInput::UpdateUIEnabled() {
players_configure[i]->setEnabled(players_controller[i]->currentIndex() != 0);
}
+ ui->handheld_connected->setChecked(ui->handheld_connected->isChecked() &&
+ !ui->use_docked_mode->isChecked());
ui->handheld_connected->setEnabled(!ui->use_docked_mode->isChecked());
ui->handheld_configure->setEnabled(ui->handheld_connected->isChecked() &&
!ui->use_docked_mode->isChecked());