[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

@@ -46,11 +46,6 @@ void FloatParameterController::willExitResponderChain(Responder * nextFirstRespo
bool FloatParameterController::handleEvent(Ion::Events::Event event) {
if (event == Ion::Events::Back) {
for (int i = 0; i < numberOfRows()-1; i++) {
if (parameterAtIndex(i) != previousParameterAtIndex(i)) {
setParameterAtIndex(i, previousParameterAtIndex(i));
}
}
stackController()->pop();
return true;
}