summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-01-18 03:06:15 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-01-18 03:06:15 +0000
commit143983948ecbdc9e9e4c4f3fe2541b2bea22be87 (patch)
tree02330d1cbe5fc4f52ff2edc6ee2dab954f9077c1 /gtk2_ardour/editor.cc
parent6b0e0e379b763795f1356d9fe5cce836350dd18d (diff)
more fun and games with selection logic
git-svn-id: svn://localhost/ardour2/trunk@1353 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor.cc')
-rw-r--r--gtk2_ardour/editor.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc
index 9ef72728f2..5b114a2412 100644
--- a/gtk2_ardour/editor.cc
+++ b/gtk2_ardour/editor.cc
@@ -2948,12 +2948,16 @@ Editor::set_selected_track (TimeAxisView& view, Selection::Operation op, bool no
}
bool
-Editor::set_selected_track_from_click (Selection::Operation op, bool no_remove)
+Editor::set_selected_track_from_click (bool press, Selection::Operation op, bool no_remove)
{
if (!clicked_trackview) {
return false;
}
+ if (!press) {
+ return false;
+ }
+
return set_selected_track (*clicked_trackview, op, no_remove);
}