[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

@@ -177,7 +177,7 @@ bool ListController::handleEvent(Ion::Events::Event event) {
footer()->setSelectedButton(0);
return true;
}
if (event == Ion::Events::OK) {
if (event == Ion::Events::OK || event == Ion::Events::EXE) {
switch (selectedColumn()) {
case 0:
{
@@ -196,7 +196,7 @@ bool ListController::handleEvent(Ion::Events::Event event) {
return true;
}
Shared::Function * function = m_functionStore->functionAtIndex(functionIndexForRow(selectedRow()));
editExpression(function, Ion::Events::OK);
editExpression(function, event);
return true;
}
default: