From d4a089937b8637be5ea36332476bf78ccee01433 Mon Sep 17 00:00:00 2001 From: Todd Naugle Date: Thu, 10 Aug 2017 09:49:22 -0500 Subject: [PATCH] Populate the buffer size combo when connecting to jack that is already running. This would crash (throw) if ardour was started with an invalid backend (alsa with no devices avaliable) and then changec to an alredy running jack. The invalid backend at the start would leave the buffer size combo empty and switching to the running jack backend did not populate buffer size list. --- gtk2_ardour/engine_dialog.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk2_ardour/engine_dialog.cc b/gtk2_ardour/engine_dialog.cc index 9475d39ec2..3939fec8cb 100644 --- a/gtk2_ardour/engine_dialog.cc +++ b/gtk2_ardour/engine_dialog.cc @@ -1032,6 +1032,7 @@ EngineControl::backend_changed () if (!_have_control) { // set settings from backend that we do have control over + set_buffersize_popdown_strings (); set_active_text_if_present (buffer_size_combo, bufsize_as_string (backend->buffer_size())); }