[apps/sequence] Fix error

Change-Id: I8bd5bd3f45c78dcaf0af4b072e75c147db29f02c
This commit is contained in:
Émilie Feral
2017-04-05 14:51:09 +02:00
parent 92752a7ff4
commit e56161c574

View File

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