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:
parent
df1c4dddc3
commit
43a063d8c6
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user