summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_selection.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-02-25 22:16:34 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2014-02-25 22:16:34 -0500
commitb600e6c2f9b15c8a73bfe55d11f288061110c4b8 (patch)
tree27fb37b90c2fceea38ad5d0dd0b5d754aced6b64 /gtk2_ardour/editor_selection.cc
parent15c13f1369bc308adfcff5bfb4835785911ad791 (diff)
amending dc38ec88342219005ee9bde850ff62ac168ba284 so that an empty rubber band selection does NOT deselect tracks.
Still need to decide if the logic for a click that does not select is correct - currently it does deselect tracks unless the SAE profile is in effect (see EditorRubberbandSelectDrag::deselect_things()
Diffstat (limited to 'gtk2_ardour/editor_selection.cc')
-rw-r--r--gtk2_ardour/editor_selection.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc
index 5346766790..e1027e4e9b 100644
--- a/gtk2_ardour/editor_selection.cc
+++ b/gtk2_ardour/editor_selection.cc
@@ -1489,7 +1489,8 @@ Editor::select_all_within (framepos_t start, framepos_t end, double top, double
}
if (found.empty()) {
- selection->clear ();
+ selection->clear_objects();
+ selection->clear_time ();
return;
}