[apps] Uniformize IntervalParameterController labels

This commit is contained in:
Ruben Dashyan
2019-08-28 17:21:02 +02:00
parent 5effb5f6b2
commit 2bb1e9416e
13 changed files with 11 additions and 32 deletions

View File

@@ -10,16 +10,6 @@ IntervalParameterController::IntervalParameterController(Responder * parentRespo
{
}
void IntervalParameterController::willDisplayCellForIndex(HighlightCell * cell, int index) {
if (index == numberOfRows()-1) {
return;
}
MessageTableCellWithEditableText * myCell = (MessageTableCellWithEditableText *)cell;
I18n::Message labels[k_totalNumberOfCell] = {I18n::Message::NStart, I18n::Message::NEnd, I18n::Message::Step};
myCell->setMessage(labels[index]);
FloatParameterController::willDisplayCellForIndex(cell, index);
}
bool IntervalParameterController::setParameterAtIndex(int parameterIndex, double f) {
if (f < 0) {
Container::activeApp()->displayWarning(I18n::Message::ForbiddenValue);