From 100e6981fb7b3f9771bcc1ff3a96f361964ed959 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 5 Apr 2007 00:01:02 +0000 Subject: [PATCH] change selection behaviour for track header context click git-svn-id: svn://localhost/ardour2/trunk@1665 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/time_axis_view.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/time_axis_view.cc b/gtk2_ardour/time_axis_view.cc index 95b0002f94..7d69459197 100644 --- a/gtk2_ardour/time_axis_view.cc +++ b/gtk2_ardour/time_axis_view.cc @@ -515,7 +515,11 @@ TimeAxisView::popup_display_menu (guint32 when) if (display_menu == 0) { build_display_menu (); } - editor.set_selected_track (*this, Selection::Add); + + if (!get_selected()) { + editor.set_selected_track (*this, Selection::Set); + } + display_menu->popup (1, when); }