mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
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:
parent
6de6812a7e
commit
4a9971ad83
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue