13
0

select track on context press in a StreamItem, so that context menu ops work

git-svn-id: svn://localhost/ardour2/trunk@1402 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2007-02-01 03:13:07 +00:00
parent df1c4dddc3
commit 43a063d8c6

View File

@ -346,7 +346,10 @@ Editor::button_selection (ArdourCanvas::Item* item, GdkEvent* event, ItemType it
break;
case StreamItem:
// commit = set_selected_track_from_click (press, op, true);
if (event->button.button == 3) {
/* for context click, select track */
commit = set_selected_track_from_click (press, op, true);
}
break;
case AutomationTrackItem: