1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-18 17:47:41 +02:00

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

View File

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