[apps/shared] In list controller, fix bug

Change-Id: I3c3849c7c10789dfbcb48a3e644f86da674bc892
This commit is contained in:
Émilie Feral
2017-06-05 09:52:06 +02:00
parent d97f1df376
commit ccf8ea0dc5

View File

@@ -251,7 +251,7 @@ void ListController::willExitResponderChain(Responder * nextFirstResponder) {
void ListController::tableViewDidChangeSelection(SelectableTableView * t, int previousSelectedCellX, int previousSelectedCellY) {
if (m_functionStore->numberOfFunctions() < m_functionStore->maxNumberOfFunctions() && selectedRow() == numberOfRows() - 1 && selectedColumn() == 0) {
t->selectCellAtLocation(previousSelectedCellX, previousSelectedCellY);
t->selectCellAtLocation(1, numberOfRows()-1);
}
}