[apps] Correct bug: display warning only once !

Change-Id: I474aa564da189a548ef36ca9990ce627e0b50acc
This commit is contained in:
Émilie Feral
2017-04-13 16:04:01 +02:00
parent ba1d7cf604
commit 1f84157395
3 changed files with 5 additions and 1 deletions

View File

@@ -131,7 +131,6 @@ bool FloatParameterController::textFieldDidFinishEditing(TextField * textField,
return false;
}
if (!setParameterAtIndex(m_selectableTableView.selectedRow(), floatBody)) {
app()->displayWarning(I18n::Message::ForbiddenValue);
return false;
}
willDisplayCellForIndex(m_selectableTableView.cellAtLocation(m_selectableTableView.selectedColumn(),