- vfd-setup: don't show separatorline when backlight menu isn't shown

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2017-11-13 10:10:45 +01:00
committed by Thilo Graf
parent a0a76fe77a
commit 1e0ef814f9

View File

@@ -145,9 +145,9 @@ int CVfdSetup::showSetup()
mf = new CMenuDForwarder(LOCALE_LEDCONTROLER_BACKLIGHT, true, NULL, blMenu, NULL, CRCInput::RC_yellow);
mf->setHint("", LOCALE_MENU_HINT_BACKLIGHT);
vfds->addItem(mf);
}
vfds->addItem(GenericMenuSeparatorLine);
vfds->addItem(GenericMenuSeparatorLine);
}
//status and info line options
CMenuOptionChooser* oj = new CMenuOptionChooser(LOCALE_LCDMENU_STATUSLINE, &g_settings.lcd_setting[SNeutrinoSettings::LCD_SHOW_VOLUME], LCDMENU_STATUSLINE_OPTIONS, LCDMENU_STATUSLINE_OPTION_COUNT, vfd_enabled);