When docked mode is checked, uncheck "joycons docked"
This commit is contained in:
parent
daae327e86
commit
8d778c90e2
|
@ -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 New Issue