[apps/shared] In float parameter controller, stay in editing mode is the

value was refused

Change-Id: I2eca2c745bfbaeafb53de44f6e96f90a89d7925b
This commit is contained in:
Émilie Feral
2017-04-05 14:39:10 +02:00
parent c9f61b1052
commit 6f3b173022
6 changed files with 45 additions and 3 deletions

View File

@@ -21,7 +21,6 @@ void IntervalParameterController::willDisplayCellForIndex(HighlightCell * cell,
bool IntervalParameterController::setParameterAtIndex(int parameterIndex, float f) {
if (f <= 0) {
app()->displayWarning(I18n::Message::ForbiddenValue);
return false;
}
SetterPointer setters[k_totalNumberOfCell] = {&Interval::setStart, &Interval::setEnd, &Interval::setStep};