revert part of 0f1c7b1d7107 which broke lots of stuff based on region selection
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 3 Jul 2014 19:48:20 +0000 (15:48 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 3 Jul 2014 19:51:06 +0000 (15:51 -0400)
gtk2_ardour/editor.cc

index 053e2850916f506c80bc7536743f951064965a9d..5994305aa1faa6311c56cf21c7c64215a01c8f9c 100644 (file)
@@ -4546,6 +4546,8 @@ Editor::get_regions_from_selection_and_edit_point ()
 
        if (_edit_point == EditAtMouse && entered_regionview && !selection->regions.contains (entered_regionview)) {
                regions.add (entered_regionview);
+       } else {
+               regions = selection->regions;
        }
 
        if (regions.empty() && _edit_point != EditAtMouse) {