From c893a4611eb2e24728ef2881f4e9cb03829c93ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Mon, 3 Apr 2017 15:55:45 +0200 Subject: [PATCH] [apps/shared] In list controller, fix bug in clearing function expressions Change-Id: I58a58558cd02b51b3a8e5afbb5f7a7103373dfa7 --- apps/shared/list_controller.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/shared/list_controller.cpp b/apps/shared/list_controller.cpp index 7d458e2b8..946e16a3b 100644 --- a/apps/shared/list_controller.cpp +++ b/apps/shared/list_controller.cpp @@ -212,6 +212,7 @@ bool ListController::handleEvent(Ion::Events::Event event) { (m_selectableTableView.selectedRow() < numberOfRows() - 1 || m_functionStore->numberOfFunctions() == m_functionStore->maxNumberOfFunctions())) { Shared::Function * function = m_functionStore->functionAtIndex(functionIndexForRow(m_selectableTableView.selectedRow())); reinitExpression(function); + return true; } if ((event.hasText() || event == Ion::Events::XNT) && m_selectableTableView.selectedColumn() == 1