fix that bug here too
This commit is contained in:
parent
d25dc40e70
commit
d1d572210f
|
@ -199,6 +199,9 @@ void InputConfigDialog::on_InputConfigDialog_rejected()
|
||||||
|
|
||||||
void InputConfigDialog::on_cbxJoystick_currentIndexChanged(int id)
|
void InputConfigDialog::on_cbxJoystick_currentIndexChanged(int id)
|
||||||
{
|
{
|
||||||
|
// prevent a spurious change
|
||||||
|
if (ui->cbxJoystick->count() < 2) return;
|
||||||
|
|
||||||
Input::JoystickID = id;
|
Input::JoystickID = id;
|
||||||
Input::OpenJoystick();
|
Input::OpenJoystick();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue