diff options
Diffstat (limited to 'menus.c')
-rw-r--r-- | menus.c | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1246,14 +1246,17 @@ static void Submenu_Display(int redraw) current_operating_mode=0; + if ( (globals.MenuStatus.Type_Of_Menu != Submenu_On) || + (globals.MenuStatus.Error_Screen == YES) || + (globals.MenuStatus.Nonstd_Display == YES) || + (!redraw)) { + LCD_clear(); + } + globals.MenuStatus.Type_Of_Menu=Submenu_On; globals.MenuStatus.Error_Screen=NO; globals.MenuStatus.Nonstd_Display=NO; - if (!redraw) { - LCD_clear(); - } - Submenu_Numeric_Parameter=Show_No_Number; Submenu_max_entry=0; |