fix inability to move tracks up if a previous resort had given one of them order == 0

This commit is contained in:
Paul Davis 2024-06-03 13:23:03 -06:00
parent df1267c1ab
commit 84445efe92

View File

@ -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;