summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.cc
diff options
context:
space:
mode:
authorSampo Savolainen <v2@iki.fi>2006-08-14 19:19:06 +0000
committerSampo Savolainen <v2@iki.fi>2006-08-14 19:19:06 +0000
commite706680e3d8517496944e04b7f0f6bd4746b939a (patch)
treec9a3d6425e712f0a984bcfb1a9af489443494f1a /gtk2_ardour/route_time_axis.cc
parentb5c9a0cfc23974c75477ff451ef05359fef77f2c (diff)
Make bar lines on the canvas draw from top to bottom no matter how few
tracks are visible. Make tracks toggle when ctrl-clicked git-svn-id: svn://localhost/ardour2/trunk@824 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r--gtk2_ardour/route_time_axis.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc
index 6e578a13e7..05f832700e 100644
--- a/gtk2_ardour/route_time_axis.cc
+++ b/gtk2_ardour/route_time_axis.cc
@@ -878,8 +878,7 @@ RouteTimeAxisView::selection_click (GdkEventButton* ev)
switch (Keyboard::selection_type (ev->state)) {
case Selection::Toggle:
- /* XXX this is not right */
- editor.get_selection().add (*tracks);
+ editor.get_selection().toggle (*tracks);
break;
case Selection::Set: