mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-09-15 00:45:33 +00:00
Merge pull request #2866 from Morph1984/checkbox_fix
configure_input: Uncheck "Joycons Docked" when "Use Docked Mode" is checked
This commit is contained in:
commit
c41365a56f
@ -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
Block a user