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/route_ui.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/route_ui.cc')
-rw-r--r-- | gtk2_ardour/route_ui.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc index f7c4d0cac0..157bb40a30 100644 --- a/gtk2_ardour/route_ui.cc +++ b/gtk2_ardour/route_ui.cc @@ -2323,9 +2323,7 @@ RouteUI::manage_pins () void RouteUI::fan_out (bool to_busses, bool group) { - if (!AudioEngine::instance()->running ()) { - MessageDialog msg (_("Not connected to audio engine - Fanning out to Tracks/Busses is not possible")); - msg.run (); + if (ARDOUR_UI_UTILS::no_engine_notify ()) { return; } |