mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
gui/keybind_setup: add units to repeat blocker chooser
This commit is contained in:
@@ -248,8 +248,12 @@ int CKeybindSetup::showKeySetup()
|
|||||||
cc->setHint("", LOCALE_MENU_HINT_KEY_REPEATBLOCK);
|
cc->setHint("", LOCALE_MENU_HINT_KEY_REPEATBLOCK);
|
||||||
keySettings->addItem(cc);
|
keySettings->addItem(cc);
|
||||||
|
|
||||||
|
std::string ms_number_format("%d ");
|
||||||
|
ms_number_format += g_Locale->getText(LOCALE_UNIT_SHORT_MILLISECOND);
|
||||||
cc = new CMenuOptionNumberChooser(LOCALE_KEYBINDINGMENU_REPEATBLOCKGENERIC,
|
cc = new CMenuOptionNumberChooser(LOCALE_KEYBINDINGMENU_REPEATBLOCKGENERIC,
|
||||||
&g_settings.repeat_genericblocker, true, 0, 999);
|
&g_settings.repeat_genericblocker, true, 0, 999);
|
||||||
|
cc->setNumberFormat(ms_number_format);
|
||||||
|
cc->setNumberFormat(ms_number_format);
|
||||||
cc->setHint("", LOCALE_MENU_HINT_KEY_REPEATBLOCKGENERIC);
|
cc->setHint("", LOCALE_MENU_HINT_KEY_REPEATBLOCKGENERIC);
|
||||||
keySettings->addItem(cc);
|
keySettings->addItem(cc);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user