Update SetLabelCommand.cpp

SetLabels: command may put labels out of order, so sort them after.
This commit is contained in:
Steve Daulton 2018-10-22 17:59:14 +01:00 committed by GitHub
parent 826353c812
commit 388cf47a92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -112,5 +112,6 @@ bool SetLabelCommand::Apply(const CommandContext & context)
labelTrack->mSelIndex = -1;
}
labelTrack->SortLabels();
return true;
}