[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

@@ -55,7 +55,7 @@ void MainController::didBecomeFirstResponder() {
}
bool MainController::handleEvent(Ion::Events::Event event) {
if (event == Ion::Events::OK) {
if (event == Ion::Events::OK || event == Ion::Events::EXE) {
m_subController.setNodeModel(m_nodeModel->children(selectedRow()), selectedRow());
StackViewController * stack = stackController();
stack->push(&m_subController);