mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-14 17:03:34 +02:00
CMenuOptionNumberChooser: expand localize functionality for any number
Origin commit data
------------------
Commit: 3acd36ba71
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-04-04 (Wed, 04 Apr 2018)
This commit is contained in:
@@ -172,8 +172,7 @@ int CVfdSetup::showSetup()
|
||||
{
|
||||
// allow to set scroll_repeats
|
||||
CMenuOptionNumberChooser * nc = new CMenuOptionNumberChooser(LOCALE_LCDMENU_SCROLL_REPEATS, &g_settings.lcd_scroll, vfd_enabled, 0, 999, this);
|
||||
nc->setLocalizedValue(0);
|
||||
nc->setLocalizedValueName(LOCALE_OPTIONS_OFF);
|
||||
nc->setLocalizedValue(0, LOCALE_OPTIONS_OFF);
|
||||
nc->setHint("", LOCALE_MENU_HINT_VFD_SCROLL);
|
||||
vfds->addItem(nc);
|
||||
}
|
||||
|
Reference in New Issue
Block a user