ContentEdit drag on empty MIDI track should not create new midi regions

This commit is contained in:
Ben Loftis
2015-02-05 12:24:11 -06:00
parent 63935a86a4
commit 927f5521ce

View 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: