- glcdsetup: change return value when switching the displays

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2020-06-14 23:14:59 +02:00
committed by Thilo Graf
parent d6b0cf6b49
commit 7c74515376

View File

@@ -140,7 +140,7 @@ int GLCD_Menu::exec(CMenuTarget* parent, const std::string & actionKey)
parent->hide();
GLCD_Menu_Select_Driver();
nglcd->Exit();
return res;
return menu_return::RETURN_EXIT;
}
if(actionKey == "select_font") {
if(parent)