Fix cross-track region drags.
authorCarl Hetherington <carl@carlh.net>
Tue, 9 Feb 2010 22:27:30 +0000 (22:27 +0000)
committerCarl Hetherington <carl@carlh.net>
Tue, 9 Feb 2010 22:27:30 +0000 (22:27 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@6667 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/editor_drag.cc

index 2dec55a0adf11df24572e4efb32bd3ee50269a5c..ca5d16e63a43650cc1aeac52997a6ceaf34bf698 100644 (file)
@@ -350,9 +350,7 @@ RegionDrag::RegionDrag (Editor* e, ArdourCanvas::Item* i, RegionView* p, list<Re
 void
 RegionDrag::region_going_away (RegionView* v)
 {
-       if (!_drags->ending ()) {
-               _views.remove (v);
-       }
+       _views.remove (v);
 }
 
 RegionMotionDrag::RegionMotionDrag (Editor* e, ArdourCanvas::Item* i, RegionView* p, list<RegionView*> const & v, bool b)