summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-01-17 19:50:48 +0100
committerRobin Gareus <robin@gareus.org>2015-01-17 21:03:56 +0100
commit7d88dc320225a6c78735a531720b967f597a1597 (patch)
treee7d7789c67d4e714304b8d91a25d6df9130db4a1
parentd312bf1d7a136e6705b6aa27c5a6b043ac310c76 (diff)
update engine dialog UI state
fixes crash when jack is started externally and the dialog is displayed later. The current state e.g. avail buffer sizes is not are queried from the backend, Apply,OK -> crash because the dropdown is empty)
-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 387d705a9c..942de79b1b 100644
--- a/gtk2_ardour/engine_dialog.cc
+++ b/gtk2_ardour/engine_dialog.cc
@@ -304,6 +304,7 @@ void
EngineControl::on_show ()
{
ArdourDialog::on_show ();
+ device_changed ();
ok_button->grab_focus();
}