From b600e6c2f9b15c8a73bfe55d11f288061110c4b8 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 25 Feb 2014 22:16:34 -0500 Subject: 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() --- gtk2_ardour/editor_selection.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gtk2_ardour/editor_selection.cc') 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; } -- cgit v1.2.3