[sequence] Fix ValuesController with new Poincare API

This commit is contained in:
Émilie Feral
2018-09-07 10:21:45 +02:00
parent e69a07f6f6
commit d4520b4648

View File

@@ -30,7 +30,7 @@ void ValuesController::willDisplayCellAtLocation(HighlightCell * cell, int i, in
if (j == 0 && i > 0) {
SequenceTitleCell * myCell = (SequenceTitleCell *)cell;
Sequence * sequence = m_sequenceStore->activeFunctionAtIndex(i-1);
myCell->setExpressionLayout(sequence->nameLayout());
myCell->setLayout(sequence->nameLayout());
myCell->setColor(sequence->color());
}
}