amending dc38ec88342219005ee9bde850ff62ac168ba284 so that an empty rubber band select...
authorPaul Davis <paul@linuxaudiosystems.com>
Wed, 26 Feb 2014 03:16:34 +0000 (22:16 -0500)
committerPaul Davis <paul@linuxaudiosystems.com>
Wed, 26 Feb 2014 03:16:34 +0000 (22:16 -0500)
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

index 53467667900057905c3a738298f371573a305844..e1027e4e9bd0418018e59340b16d2277d6aab233 100644 (file)
@@ -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;
        }