mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-25 16:50:50 +01:00
[apps] Prevent duplicating functions to avoid crashing at exit (when
function stores are deleted) Change-Id: Ia0efb528f02efaaba87eccd48385163b48593387
This commit is contained in:
@@ -50,6 +50,7 @@ void SequenceStore::removeFunction(Shared::Function * f) {
|
||||
for (int j = i; j<m_numberOfFunctions; j++) {
|
||||
m_sequences[j] = m_sequences[j+1];
|
||||
}
|
||||
m_sequences[m_numberOfFunctions] = Sequence("", KDColorBlack);
|
||||
}
|
||||
|
||||
int SequenceStore::maxNumberOfFunctions() {
|
||||
|
||||
Reference in New Issue
Block a user