when exiting internal edit mode because of a mouse button press on a non-MIDI region...
authorPaul Davis <paul@linuxaudiosystems.com>
Mon, 10 Jun 2013 22:28:25 +0000 (18:28 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 10 Jun 2013 22:28:32 +0000 (18:28 -0400)
gtk2_ardour/editor_mouse.cc

index c7daeaccbd95a94effa8458890898532ae3e101f..be716d64d0015557240c85e3cbce75291ec8409a 100644 (file)
@@ -607,7 +607,7 @@ Editor::button_selection (ArdourCanvas::Item* /*item*/, GdkEvent* event, ItemTyp
 
        switch (item_type) {
        case RegionItem:
-               if (!get_smart_mode() || (_join_object_range_state == JOIN_OBJECT_RANGE_OBJECT)) {
+               if (!get_smart_mode() || (_join_object_range_state != JOIN_OBJECT_RANGE_RANGE)) {
                        if (press) {
                                if (mouse_mode != MouseRange) {
                                        set_selected_regionview_from_click (press, op);