Fix button state not reset
This commit is contained in:
parent
d407bb08e2
commit
8124079d6c
@ -101,6 +101,7 @@ void OptionsScreenDevice::init()
|
||||
// Only allow to enable or disable a gamepad,
|
||||
// as it is only in the list when connected
|
||||
delete_button->setActive(false);
|
||||
disable_toggle->setActive(true);
|
||||
|
||||
label = (m_config->isEnabled()
|
||||
? //I18N: button to disable a gamepad configuration
|
||||
|
Loading…
Reference in New Issue
Block a user