glcd: show standard screen instead of menu while configuring positions

Origin commit data
------------------
Commit: 15fa90a355
Author: TangoCash <eric@loxat.de>
Date: 2022-10-29 (Sat, 29 Oct 2022)
This commit is contained in:
TangoCash
2022-10-29 05:22:50 +02:00
committed by vanhofen
parent e7b2457aa7
commit 72bd8eee84
4 changed files with 10 additions and 2 deletions

View File

@@ -248,7 +248,7 @@ void CMenuItem::paintItemCaption(const bool select_mode, const char * right_text
}
#ifdef ENABLE_GRAPHLCD
if (g_settings.glcd_enable)
if (g_settings.glcd_enable && !cGLCD::getInstance()->GetCfgMode())
cGLCD::lockChannel(g_Locale->getText(LOCALE_MAINMENU_HEAD), lcd_text, 0);
#endif
#ifdef ENABLE_LCD4LINUX
@@ -1061,7 +1061,7 @@ int CMenuWidget::exec(CMenuTarget* parent, const std::string &)
int rv = item->exec( this );
#ifdef ENABLE_GRAPHLCD
if (g_settings.glcd_enable)
if (g_settings.glcd_enable && !cGLCD::getInstance()->GetCfgMode())
cGLCD::lockChannel(g_Locale->getText(LOCALE_MAINMENU_HEAD), item->lcd_text, 0);
#endif
#ifdef ENABLE_LCD4LINUX