change selection behaviour for track header context click

git-svn-id: svn://localhost/ardour2/trunk@1665 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis
2007-04-05 00:01:02 +00:00
parent c971cafbed
commit 100e6981fb

View File

@@ -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);
}