From a0c84ff9f41766870dffca6b9cfdbb15c80fd0b3 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sun, 19 Nov 2017 11:29:45 +0100 Subject: [PATCH] CTestMenu: add gui restart item for faster access Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/8613e5db111388204d4d527a4c546d7ef50bea81 Author: Thilo Graf Date: 2017-11-19 (Sun, 19 Nov 2017) --- src/gui/test_menu.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/test_menu.cpp b/src/gui/test_menu.cpp index dfb199488..4d1e6fb5b 100644 --- a/src/gui/test_menu.cpp +++ b/src/gui/test_menu.cpp @@ -1117,6 +1117,9 @@ int CTestMenu::showTestMenu() w_test.addItem(new CMenuForwarder(w_msg->getName(), true, NULL, w_msg)); showMsgTests(w_msg); + //restart gui + w_test.addItem(new CMenuForwarder(LOCALE_SERVICEMENU_RESTART , true, NULL, CNeutrinoApp::getInstance(), "restart", CRCInput::RC_standby)); + //footer buttons static const struct button_label footerButtons[2] = { { NEUTRINO_ICON_BUTTON_RED, LOCALE_COLORCHOOSER_RED },