osd-setup: use 0 as a localized value for timeout-settings

Origin commit data
------------------
Commit: 7c429c17e0
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-25 (Mon, 25 Sep 2017)

Origin message was:
------------------
- osd-setup: use 0 as a localized value for timeout-settings
This commit is contained in:
vanhofen
2017-09-25 08:42:26 +02:00
committed by Jacek Jendrzej
parent 25d195e7bb
commit 459deeca9f

View File

@@ -1059,6 +1059,8 @@ void COsdSetup::showOsdTimeoutSetup(CMenuWidget* menu_timeout)
{
CMenuOptionNumberChooser *ch = new CMenuOptionNumberChooser(timing_setting[i].name, &g_settings.timing[i], true, 0, 240);
ch->setNumberFormat(nf);
ch->setLocalizedValue(0);
ch->setLocalizedValueName(LOCALE_OPTIONS_OFF);
ch->setHint("", timing_setting[i].hint);
menu_timeout->addItem(ch);
}