projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c971caf
)
change selection behaviour for track header context click
author
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 5 Apr 2007 00:01:02 +0000
(
00:01
+0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 5 Apr 2007 00:01:02 +0000
(
00:01
+0000)
git-svn-id: svn://localhost/ardour2/trunk@1665
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/time_axis_view.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/time_axis_view.cc
b/gtk2_ardour/time_axis_view.cc
index 95b0002f94c4ecf88bd8a94e6eb5704fcc8a1725..7d69459197d8d334fa9d4d86c786b156c3f22398 100644
(file)
--- 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);
}