From 84445efe92289a6065062090c4b424c6d3c4a5be Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 3 Jun 2024 13:23:03 -0600 Subject: [PATCH] fix inability to move tracks up if a previous resort had given one of them order == 0 --- gtk2_ardour/editor_selection.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc index a4e4e48ef1..b52c8ca716 100644 --- a/gtk2_ardour/editor_selection.cc +++ b/gtk2_ardour/editor_selection.cc @@ -2404,7 +2404,7 @@ Editor::move_selected_tracks (bool up) for (auto & s : sl) { if (s->is_selected()) { - if (up && (s->presentation_info().order() <= 1)) { + if (up && (s->presentation_info().order() <= 0)) { return; } else if (!up && (s->presentation_info().order() >= sl.size() - 1)) { return;