mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-02 03:32:47 +01:00
When docked mode is checked, uncheck "joycons docked"
This commit is contained in:
parent
daae327e86
commit
8d778c90e2
1 changed files with 2 additions and 0 deletions
|
@ -182,6 +182,8 @@ void ConfigureInput::UpdateUIEnabled() {
|
||||||
players_configure[i]->setEnabled(players_controller[i]->currentIndex() != 0);
|
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_connected->setEnabled(!ui->use_docked_mode->isChecked());
|
||||||
ui->handheld_configure->setEnabled(ui->handheld_connected->isChecked() &&
|
ui->handheld_configure->setEnabled(ui->handheld_connected->isChecked() &&
|
||||||
!ui->use_docked_mode->isChecked());
|
!ui->use_docked_mode->isChecked());
|
||||||
|
|
Loading…
Reference in a new issue