fix inability to move tracks up if a previous resort had given one of them order == 0
This commit is contained in:
parent
df1267c1ab
commit
84445efe92
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user