Hide "Use Buffered I/O" button when switching to backend with no control
authorTim Mayberry <mojofunk@gmail.com>
Fri, 12 Feb 2016 23:28:33 +0000 (09:28 +1000)
committerTim Mayberry <mojofunk@gmail.com>
Sat, 13 Feb 2016 00:00:59 +0000 (10:00 +1000)
Which in this case means the JACK backend where the server is already running.

gtk2_ardour/engine_dialog.cc

index 23c2a72396d8d42238b7b4fe9155066dea5ff0fe..762d1620d5aaeec55fb47db9fc3f07209a44d4e7 100644 (file)
@@ -880,6 +880,8 @@ EngineControl::update_sensitivity ()
        } else {
                update_devices_button.set_sensitive(false);
                update_devices_button.hide();
+               use_buffered_io_button.set_sensitive(false);
+               use_buffered_io_button.hide();
                start_stop_button.set_sensitive(false);
                start_stop_button.hide();
        }