reset font on return to menu

This commit is contained in:
Stefan `Sec` Zehl 2011-08-05 10:25:31 +02:00
parent 76c19fff94
commit a402918828
1 changed files with 3 additions and 0 deletions

View File

@ -78,6 +78,8 @@ void handleMenu(const struct MENU *the_menu) {
case BTN_RIGHT: case BTN_RIGHT:
if (the_menu->entries[menuselection].callback!=NULL) if (the_menu->entries[menuselection].callback!=NULL)
the_menu->entries[menuselection].callback(); the_menu->entries[menuselection].callback();
setSystemFont();
if (menuflags&MENU_JUSTONCE) if (menuflags&MENU_JUSTONCE)
return; return;
@ -91,6 +93,7 @@ void handleMenu(const struct MENU *the_menu) {
if (the_menu->entries[menuselection].callback!=NULL) if (the_menu->entries[menuselection].callback!=NULL)
the_menu->entries[menuselection].callback(); the_menu->entries[menuselection].callback();
lcdRefresh(); lcdRefresh();
setSystemFont();
if (menuflags&MENU_JUSTONCE) if (menuflags&MENU_JUSTONCE)
return; return;