summaryrefslogtreecommitdiff
path: root/gtk2_ardour/engine_dialog.cc
diff options
context:
space:
mode:
authorTodd Naugle <toddn@harrisonconsoles.com>2017-08-10 09:49:22 -0500
committerTodd Naugle <toddn@harrisonconsoles.com>2017-08-10 09:49:22 -0500
commitd4a089937b8637be5ea36332476bf78ccee01433 (patch)
tree12bf53a7d3b581d2a296c0913c123dd35809c0db /gtk2_ardour/engine_dialog.cc
parentd2d660521e80a61fca3c152f3aac20123bad2681 (diff)
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.
Diffstat (limited to 'gtk2_ardour/engine_dialog.cc')
-rw-r--r--gtk2_ardour/engine_dialog.cc1
1 files changed, 1 insertions, 0 deletions
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()));
}