[apps][escher] EXE and OK trigger the same behaviour

Change-Id: Ide7d38fbc445be717e50ed46f2d784c02c9830e4
This commit is contained in:
Émilie Feral
2017-05-10 12:04:30 +02:00
parent e5dd0d8d7f
commit 4e0e285501
34 changed files with 36 additions and 36 deletions

View File

@@ -64,7 +64,7 @@ bool SubController::handleEvent(Ion::Events::Event event) {
appsContainer->switchTo(appsContainer->hardwareTestApp());
return true;
}
if (event == Ion::Events::OK) {
if (event == Ion::Events::OK || event == Ion::Events::EXE) {
/* Behavious of "Exam mode" menu*/
if (m_preferenceIndex == 4) {
if (GlobalPreferences::sharedGlobalPreferences()->examMode() == GlobalPreferences::ExamMode::Activate) {