mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
Merge pull request #1768 from greggameplayer/patch-2
Uncheck automatically joycons docked when docked mode is enable
This commit is contained in:
commit
7befe0134d
|
@ -89,6 +89,10 @@ ConfigureInput::ConfigureInput(QWidget* parent)
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConfigureInput::OnDockedModeChanged(bool last_state, bool new_state) {
|
void ConfigureInput::OnDockedModeChanged(bool last_state, bool new_state) {
|
||||||
|
if (ui->use_docked_mode->isChecked() && ui->handheld_connected->isChecked()){
|
||||||
|
ui->handheld_connected->setChecked(false);
|
||||||
|
}
|
||||||
|
|
||||||
if (last_state == new_state) {
|
if (last_state == new_state) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue