diff options
author | Robin Gareus <robin@gareus.org> | 2018-11-28 00:01:50 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-11-28 00:01:50 +0100 |
commit | f150f6c074e09e99531f8e82c5972fa49e302374 (patch) | |
tree | d78c5dfd2a63826b8ef274ec6336699f552bcdf8 /gtk2_ardour/editor_drag.cc | |
parent | 415721fa5b48f3c3dc164ac60095c095c4e48ad0 (diff) |
Use central method to check for engine where required
These are generally places where tracks/busses are created or port
connections change.
Diffstat (limited to 'gtk2_ardour/editor_drag.cc')
-rw-r--r-- | gtk2_ardour/editor_drag.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index 5310eeed33..7b8ffca750 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -1428,8 +1428,7 @@ RegionMoveDrag::finished (GdkEvent* ev, bool movement_occurred) RouteTimeAxisView* RegionMoveDrag::create_destination_time_axis (boost::shared_ptr<Region> region, TimeAxisView* original) { - if (!AudioEngine::instance()->running ()) { - error << _("Not connected to audio engine - Could not create new track after region placed in the drop zone") << endmsg; + if (ARDOUR_UI_UTILS::no_engine_notify ()) { return NULL; } |