From 40e3a0145916782c96ece6a439e36834579a27f6 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 7 Apr 2015 15:23:24 +0200 Subject: [PATCH] and 2c89ec5, keep backend running. --- gtk2_ardour/engine_dialog.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/engine_dialog.cc b/gtk2_ardour/engine_dialog.cc index a7ef061d17..c88c836dfe 100644 --- a/gtk2_ardour/engine_dialog.cc +++ b/gtk2_ardour/engine_dialog.cc @@ -324,7 +324,10 @@ void EngineControl::on_show () { ArdourDialog::on_show (); - backend_changed (); + if (!ARDOUR::AudioEngine::instance()->current_backend() || !ARDOUR::AudioEngine::instance()->running()) { + // re-check _have_control (jackd running) see #6041 + backend_changed (); + } device_changed (); ok_button->grab_focus(); }