From: Paul Davis Date: Wed, 26 Feb 2014 03:16:34 +0000 (-0500) Subject: amending dc38ec88342219005ee9bde850ff62ac168ba284 so that an empty rubber band select... X-Git-Tag: 1.0.0~725 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=b600e6c2f9b15c8a73bfe55d11f288061110c4b8;p=ardour.git 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() --- 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; }