13
0

create new MIDI regions on streamitem click in "note draw" mode as well as object mode

git-svn-id: svn://localhost/ardour2/branches/3.0@7193 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2010-05-29 11:28:27 +00:00
parent a04b1fee6a
commit 890afb2128

View File

@ -661,6 +661,13 @@ Editor::button_press_handler_1 (ArdourCanvas::Item* item, GdkEvent* event, ItemT
}
break;
case StreamItem:
if (internal_editing()) {
_drags->set (new RegionCreateDrag (this, item, clicked_axisview), event);
return true;
}
break;
default:
if (!internal_editing()) {
_drags->set (new SelectionDrag (this, item, SelectionDrag::CreateSelection), event);