summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2019-09-17 05:26:32 +0200
committerGitHub <noreply@github.com>2019-09-17 05:26:32 +0200
commit8d778c90e26c653842390059bf26f35684cee2f4 (patch)
treec4df0519a899d75b5a3966dfa81ff5adff14ca12 /src
parentMerge pull request #2857 from ReinUsesLisp/surface-srgb (diff)
downloadyuzu-8d778c90e26c653842390059bf26f35684cee2f4.tar
yuzu-8d778c90e26c653842390059bf26f35684cee2f4.tar.gz
yuzu-8d778c90e26c653842390059bf26f35684cee2f4.tar.bz2
yuzu-8d778c90e26c653842390059bf26f35684cee2f4.tar.lz
yuzu-8d778c90e26c653842390059bf26f35684cee2f4.tar.xz
yuzu-8d778c90e26c653842390059bf26f35684cee2f4.tar.zst
yuzu-8d778c90e26c653842390059bf26f35684cee2f4.zip
Diffstat (limited to 'src')
-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());