[apps/shared] Fix error

Change-Id: I635363ea034c48fb5367cd1cbaefc0472f951d41
This commit is contained in:
Émilie Feral
2017-03-20 10:12:40 +01:00
parent 18df46872b
commit 8bc326dba1

View File

@@ -113,7 +113,7 @@ bool FloatParameterController::textFieldDidFinishEditing(TextField * textField,
}
void FloatParameterController::tableViewDidChangeSelection(SelectableTableView * t, int previousSelectedCellX, int previousSelectedCellY) {
if (previousSelectedCellY >= 0 && previousSelectedCellX < numberOfRows()-1) {
if (previousSelectedCellY >= 0 && previousSelectedCellY < numberOfRows()-1) {
MessageTableCellWithEditableText * myCell = (MessageTableCellWithEditableText *)t->cellAtLocation(previousSelectedCellX, previousSelectedCellY);
myCell->setEditing(false);
}