more changes flowing from a persistent MonitorSection object
[ardour.git] / gtk2_ardour / editor_drag.cc
index 654cca2a162d7cfb9409265c4eed782ca4d4e789..0b6b1e34b328b90d82af22acd1256730e7457060 100644 (file)
@@ -1428,6 +1428,10 @@ RegionMoveDrag::finished (GdkEvent* ev, bool movement_occurred)
 RouteTimeAxisView*
 RegionMoveDrag::create_destination_time_axis (boost::shared_ptr<Region> region, TimeAxisView* original)
 {
+       if (!ARDOUR_UI_UTILS::engine_is_running ()) {
+               return NULL;
+       }
+
        /* Add a new track of the correct type, and return the RouteTimeAxisView that is created to display the
           new track.
         */