From 388cf47a92b8cd4614b16dc586a88fed3d1f1240 Mon Sep 17 00:00:00 2001 From: Steve Daulton Date: Mon, 22 Oct 2018 17:59:14 +0100 Subject: [PATCH] Update SetLabelCommand.cpp SetLabels: command may put labels out of order, so sort them after. --- src/commands/SetLabelCommand.cpp | 1 + 1 file changed, 1 insertion(+) 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; }