[apps] Shared: Factorize code: all FunctionGraphView have a member

indicating the selected function
This commit is contained in:
Émilie Feral
2018-01-08 15:53:14 +01:00
committed by EmilieNumworks
parent 0dec52a708
commit a6050fda55
5 changed files with 16 additions and 14 deletions

View File

@@ -159,7 +159,7 @@ bool TermSumController::moveCursorHorizontallyToPosition(int position) {
}
void TermSumController::setSequence(Sequence * sequence) {
m_graphView->selectSequence(sequence);
m_graphView->selectFunction(sequence);
m_sequence = sequence;
}