summaryrefslogtreecommitdiff
path: root/menus.c
diff options
context:
space:
mode:
Diffstat (limited to 'menus.c')
-rw-r--r--menus.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/menus.c b/menus.c
index 229020d..6f98ba7 100644
--- a/menus.c
+++ b/menus.c
@@ -249,7 +249,9 @@ static int Menu_Is_Item_Visible(int LCD_entry)
void Update_Main_Menu_If_Visible(void)
{
- if (globals.MenuStatus.Type_Of_Menu == Main_Menu_On) {
+ if ( (globals.MenuStatus.Type_Of_Menu == Main_Menu_On) &&
+ (globals.MenuStatus.Error_Screen == NO) &&
+ (globals.MenuStatus.Nonstd_Display == NO)) {
Show_Main_Menu();
}
}