diff options
author | Robin Gareus <robin@gareus.org> | 2014-06-14 16:26:14 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-06-14 16:26:14 +0200 |
commit | 51b475467a157735e4b72935a8aa2d03fb43a86f (patch) | |
tree | 0ecca625f6329d3e5588f260d5af2b735b842008 /gtk2_ardour/engine_dialog.cc | |
parent | 7b64448dbb13d7f0f80c4e1ff7ab9459b8b1f556 (diff) |
if we don't have control over the device/backend, allow to proceed.
Diffstat (limited to 'gtk2_ardour/engine_dialog.cc')
-rw-r--r-- | gtk2_ardour/engine_dialog.cc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gtk2_ardour/engine_dialog.cc b/gtk2_ardour/engine_dialog.cc index 1980a4a7a0..41b48b911c 100644 --- a/gtk2_ardour/engine_dialog.cc +++ b/gtk2_ardour/engine_dialog.cc @@ -802,8 +802,13 @@ EngineControl::list_devices () output_latency.set_sensitive (false); input_channels.set_sensitive (false); output_channels.set_sensitive (false); - ok_button->set_sensitive (false); - apply_button->set_sensitive (false); + if (_have_control) { + ok_button->set_sensitive (false); + apply_button->set_sensitive (false); + } else { + ok_button->set_sensitive (true); + apply_button->set_sensitive (true); + } } } |