fix double-click-shows-region-properties in Ripple mode
authorBen Loftis <ben@harrisonconsoles.com>
Mon, 15 Sep 2014 16:43:12 +0000 (11:43 -0500)
committerBen Loftis <ben@harrisonconsoles.com>
Mon, 15 Sep 2014 16:43:12 +0000 (11:43 -0500)
gtk2_ardour/editor_drag.cc

index eb130c5f294fedd86175379f13103e4bb6c603b8..ec741c07b156912f6602f46352228b016c89a94e 100644 (file)
@@ -1791,6 +1791,15 @@ void
 RegionRippleDrag::finished (GdkEvent* event, bool movement_occurred)
 {
        if (!movement_occurred) {
+               
+               /* just a click */
+
+               if (was_double_click() && !_views.empty()) {
+                       DraggingView dv = _views.front();
+                       dv.view->show_region_editor ();
+                       
+               }
+
                return;
        }