summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-03-24 19:49:21 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-03-24 19:49:21 +0000
commitc8616fde7e43a956bf6ce43a14a4cec1eb3cd985 (patch)
tree3c4a388c60ee670d89243c4aa55d49f61b5d00bd /gtk2_ardour/route_time_axis.cc
parent7e14351aee59c83d71b4b1d137138a1e5874632b (diff)
small change to logic for track selection when context/button clicking on a track header.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3177 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r--gtk2_ardour/route_time_axis.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc
index 7997a26e65..95417d5a5e 100644
--- a/gtk2_ardour/route_time_axis.cc
+++ b/gtk2_ardour/route_time_axis.cc
@@ -391,7 +391,8 @@ RouteTimeAxisView::playlist_click ()
playlist_action_menu->set_name ("ArdourContextMenu");
build_playlist_menu (playlist_action_menu);
- editor.set_selected_track (*this, Selection::Add);
+
+ conditionally_add_to_selection ();
playlist_action_menu->popup (1, gtk_get_current_event_time());
}
@@ -404,7 +405,7 @@ RouteTimeAxisView::automation_click ()
*/
build_display_menu ();
}
- editor.set_selected_track (*this, Selection::Add);
+ conditionally_add_to_selection ();
automation_action_menu->popup (1, gtk_get_current_event_time());
}