Fix inverted if condition in input options screen, fixes #2255

This commit is contained in:
Marianne Gagnon
2015-07-29 18:55:40 -04:00
parent 3687eb79d6
commit 738e7bc780

View File

@@ -89,7 +89,7 @@ void OptionsScreenInput2::init()
ButtonWidget* delete_button = getWidget<ButtonWidget>("delete");
if (m_config->isKeyboard())
if (!m_config->isKeyboard())
{
core::stringw label = (m_config->isEnabled()
? //I18N: button to disable a gamepad configuration