diff --git a/src/gui/keybind_setup.cpp b/src/gui/keybind_setup.cpp index 1e835cc30..bd6af76e7 100644 --- a/src/gui/keybind_setup.cpp +++ b/src/gui/keybind_setup.cpp @@ -305,7 +305,7 @@ int CKeybindSetup::showKeySetup() #endif cc = new CMenuOptionNumberChooser(LOCALE_KEYBINDINGMENU_REPEATBLOCK, - &g_settings.repeat_blocker, true, 0, 999, NULL, + &g_settings.repeat_blocker, true, 0, 999, this, CRCInput::convertDigitToKey(shortcut++), NULL, 0, 0, LOCALE_OPTIONS_OFF); cc->setNumberFormat(ms_number_format); cc->setNumericInput(true); @@ -313,7 +313,7 @@ int CKeybindSetup::showKeySetup() keySettings->addItem(cc); cc = new CMenuOptionNumberChooser(LOCALE_KEYBINDINGMENU_REPEATBLOCKGENERIC, - &g_settings.repeat_genericblocker, true, 0, 999, NULL, + &g_settings.repeat_genericblocker, true, 0, 999, this, CRCInput::convertDigitToKey(shortcut++), NULL, 0, 0, LOCALE_OPTIONS_OFF); cc->setNumberFormat(ms_number_format); cc->setNumericInput(true);