13
0

When a track context menu is opened, select the track it was opened in (only). Should fix #3078.

git-svn-id: svn://localhost/ardour2/branches/3.0@6971 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-04-23 02:06:07 +00:00
parent 6de6812a7e
commit 4a9971ad83

View File

@ -499,7 +499,8 @@ Editor::button_selection (ArdourCanvas::Item* /*item*/, GdkEvent* event, ItemTyp
case StreamItem:
/* for context click, select track */
if (event->button.button == 3) {
set_selected_track_as_side_effect ();
selection->clear_tracks ();
set_selected_track_as_side_effect (true);
}
break;