lcd4linux: fix weather on/off item again

Origin commit data
------------------
Branch: ni/coolstream
Commit: 09c5ec066f
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-03-29 (Fri, 29 Mar 2019)

Origin message was:
------------------
- lcd4linux: fix weather on/off item again

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2019-03-29 23:37:07 +01:00
parent 5fe5d4d898
commit a478c27a71
3 changed files with 3 additions and 3 deletions

View File

@@ -200,7 +200,7 @@ int CLCD4lSetup::show()
const char *flag_lcd4l_weather = FLAGDIR "/.lcd-weather";
int fake_lcd4l_weather = file_exists(flag_lcd4l_weather);
CTouchFileNotifier *lcd_weather = new CTouchFileNotifier(flag_lcd4l_weather);
mc = new CMenuOptionChooser(LOCALE_LCD4L_WEATHER, &fake_lcd4l_weather, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true, lcd_weather, CRCInput::convertDigitToKey(shortcut++));
mc = new CMenuOptionChooser(LOCALE_LCD4L_WEATHER, &fake_lcd4l_weather, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, g_settings.weather_enabled, lcd_weather, CRCInput::convertDigitToKey(shortcut++));
mc->setHint(NEUTRINO_ICON_HINT_LCD4LINUX, LOCALE_MENU_HINT_LCD4L_WEATHER);
lcd4lSetup->addItem(mc);