From b75118ee13a750e1ad3f53f87a24f2a6e755e32d Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 5 May 2021 18:48:53 -0600 Subject: [PATCH] a more robust value check for 8cb09ab2cfc modification --- gtk2_ardour/editor_drag.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index 855ebf8b66..5acd7fa7e2 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -1467,7 +1467,7 @@ RegionMoveDrag::finished (GdkEvent* ev, bool movement_occurred) bool const changed_position = (_last_position.sample != _primary->region()->position()); bool changed_tracks; - if (_views.front().time_axis_view == _time_axis_views.size()) { + if (_views.front().time_axis_view >= _time_axis_views.size()) { /* in the drop zone */ changed_tracks = true; } else {