L: only renumber tracks after track DnD if we passed the move threshold
This commit is contained in:
parent
34cc408ebb
commit
b79e17f8a2
@ -7282,14 +7282,17 @@ Editor::end_track_drag ()
|
|||||||
gdk_window_set_cursor (edit_controls_vbox.get_toplevel()->get_window()->gobj(), track_drag->predrag_cursor);
|
gdk_window_set_cursor (edit_controls_vbox.get_toplevel()->get_window()->gobj(), track_drag->predrag_cursor);
|
||||||
}
|
}
|
||||||
|
|
||||||
delete track_drag;
|
bool did_move = !track_drag->first_move;
|
||||||
track_drag = nullptr;
|
|
||||||
|
delete track_drag;
|
||||||
|
track_drag = nullptr;
|
||||||
|
|
||||||
/* the suspender was deleted with track_drag, now catch up on any track
|
/* the suspender was deleted with track_drag, now catch up on any track
|
||||||
numbering and side effects
|
numbering and side effects
|
||||||
*/
|
*/
|
||||||
|
if (did_move) {
|
||||||
_session->update_track_numbers ();
|
_session->update_track_numbers ();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
Loading…
Reference in New Issue
Block a user