mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +02:00
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:
@@ -233,6 +233,7 @@ bool GLCD_Menu::changeNotify (const neutrino_locale_t OptionName, void *Data)
|
||||
if (!Data)
|
||||
return false;
|
||||
cGLCD *cglcd = cGLCD::getInstance();
|
||||
cglcd->unlockChannel();
|
||||
|
||||
switch(OptionName)
|
||||
{
|
||||
@@ -485,6 +486,8 @@ int GLCD_Menu::GLCD_Theme_Settings()
|
||||
|
||||
int GLCD_Menu::GLCD_Theme_Position_Settings()
|
||||
{
|
||||
cGLCD::getInstance()->SetCfgMode(true);
|
||||
|
||||
CMenuWidget *gtps = new CMenuWidget(LOCALE_GLCD_THEME_SETTINGS, NEUTRINO_ICON_SETTINGS, width, MN_WIDGET_ID_GLCD_THEME_POSITION_SETTINGS);
|
||||
gtps->addIntroItems(LOCALE_GLCD_POSITION_SETTINGS);
|
||||
|
||||
@@ -596,6 +599,7 @@ int GLCD_Menu::GLCD_Theme_Position_Settings()
|
||||
int res = gtps->exec(NULL, "");
|
||||
delete gtps;
|
||||
cGLCD::getInstance()->StandbyMode(false);
|
||||
cGLCD::getInstance()->SetCfgMode(false);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user