ContentEdit drag on empty MIDI track should not create new midi regions
authorBen Loftis <ben@harrisonconsoles.com>
Thu, 5 Feb 2015 18:24:11 +0000 (12:24 -0600)
committerBen Loftis <ben@harrisonconsoles.com>
Thu, 5 Feb 2015 18:24:11 +0000 (12:24 -0600)
gtk2_ardour/editor_mouse.cc

index e17ddfb41e2020df3275a878b804defc47684329..f0723ab5bcf9d66f8bf162e2d428922d824ecb74 100644 (file)
@@ -767,10 +767,7 @@ Editor::button_press_handler_1 (ArdourCanvas::Item* item, GdkEvent* event, ItemT
                        break;
 
                case StreamItem:
-                       if (dynamic_cast<MidiTimeAxisView*> (clicked_axisview)) {
-                               _drags->set (new RegionCreateDrag (this, item, clicked_axisview), event);
-                               return true;
-                       }
+                       //in the past, we created a new midi region here, but perhaps that is best left to the Draw mode
                        break;
 
                case AutomationTrackItem: