[apps] Sequence: invalidate the context cache when the sequences are

redefined
This commit is contained in:
Émilie Feral
2017-12-13 17:49:54 +01:00
committed by EmilieNumworks
parent 31ceb5ed40
commit cb754ab6d5
12 changed files with 31 additions and 16 deletions

View File

@@ -56,7 +56,6 @@ void SequenceStore::removeFunction(Shared::Function * f) {
}
Sequence emptySequence("", KDColorBlack);
m_sequences[m_numberOfFunctions] = emptySequence;
//sqctx->resetCache();
}
int SequenceStore::maxNumberOfFunctions() {
@@ -105,7 +104,6 @@ void SequenceStore::removeAll() {
m_sequences[i] = emptySequence;
}
m_numberOfFunctions = 0;
//sqctx->resetCache();
}
}