diff --git a/src/commands/SetLabelCommand.cpp b/src/commands/SetLabelCommand.cpp index dea7eb8d9..594847494 100644 --- a/src/commands/SetLabelCommand.cpp +++ b/src/commands/SetLabelCommand.cpp @@ -112,5 +112,6 @@ bool SetLabelCommand::Apply(const CommandContext & context) labelTrack->mSelIndex = -1; } + labelTrack->SortLabels(); return true; }