From 1e0ef814f9ea2352aa90b1b0ae1289f313771000 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Mon, 13 Nov 2017 10:10:45 +0100 Subject: [PATCH] - vfd-setup: don't show separatorline when backlight menu isn't shown Signed-off-by: Thilo Graf --- src/gui/vfd_setup.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/vfd_setup.cpp b/src/gui/vfd_setup.cpp index a22eaded0..247898ac9 100644 --- a/src/gui/vfd_setup.cpp +++ b/src/gui/vfd_setup.cpp @@ -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);