[apps/sequence||graph] Improve hiding of copy column functionnality

Change-Id: Ic31734f99c0c223e5865b46c48866b89aa62d383
This commit is contained in:
Émilie Feral
2017-05-02 14:08:34 +02:00
parent 847a8e02e7
commit 4b18d16b2b
7 changed files with 50 additions and 16 deletions

View File

@@ -262,11 +262,14 @@ void ValuesController::configureAbscissa() {
}
void ValuesController::configureFunction() {
#if COPY_COLUMN
#else
/* Temporary: the sequence value controller does not have a function parameter
* controller yet but it shoult come soon. */
if (functionParameterController() == nullptr) {
return;
}
#endif
functionParameterController()->setFunction(functionAtColumn(selectedColumn()));
StackViewController * stack = stackController();
stack->push(functionParameterController());