[apps/shared] In float parameter controllers, back has the same

consequence as 'validate'

Change-Id: Id45f824c50af2f6e47be5abd9115d98971a1e073
This commit is contained in:
Émilie Feral
2017-04-25 16:20:55 +02:00
parent f65c8f3a27
commit 7715da8e36
12 changed files with 0 additions and 77 deletions

View File

@@ -16,13 +16,6 @@ const char * HistogramParameterController::title() {
return I18n::translate(I18n::Message::HistogramSet);
}
void HistogramParameterController::viewWillAppear() {
for (int i = 0; i < k_numberOfCells; i++) {
m_previousParameters[i] = parameterAtIndex(i);
}
FloatParameterController::viewWillAppear();
}
int HistogramParameterController::numberOfRows() {
return 1+k_numberOfCells;
}
@@ -54,10 +47,6 @@ float HistogramParameterController::parameterAtIndex(int index) {
return m_store->firstDrawnBarAbscissa();
}
float HistogramParameterController::previousParameterAtIndex(int index) {
return m_previousParameters[index];
}
bool HistogramParameterController::setParameterAtIndex(int parameterIndex, float f) {
assert(parameterIndex >= 0 && parameterIndex < k_numberOfCells);
if (parameterIndex == 0) {