Fix return to main when setting an autoboot option

This fixes the issue with "More configs".
This commit is contained in:
Kostas Missos committed 2018-12-16 20:21:59 +02:00
1 parent 98d715243a
commit 9f5b97620a
3 files changed
+11 -8

No files matched your search

+4 -2
View File
@@ -206,8 +206,10 @@ void *tui_do_menu(gfx_con_t *con, menu_t *menu)
return NULL;
break;
case MENT_HDLR_RE:
ent->handler(ent->data);
return NULL;
ent->handler(ent);
if (!ent->data)
return NULL;
break;
default:
break;
}