fix MTDM test
[ardour.git] / gtk2_ardour / engine_dialog.cc
index 358cf325b4a31beeb4567003d39d01a53d99ee0b..f3dba387abbb5109e035decff1738eaf17bc5841 100644 (file)
@@ -373,7 +373,10 @@ EngineControl::build_notebook ()
                basic_vbox.pack_start (*hpacker);
        }
 
-       basic_vbox.show_all ();
+       {
+               PBD::Unwinder<uint32_t> protect_ignore_changes (ignore_changes, ignore_changes + 1);
+               basic_vbox.show_all ();
+       }
 }
 
 void
@@ -826,6 +829,11 @@ EngineControl::list_devices ()
 
                device_changed ();
 
+               input_latency.set_sensitive (true);
+               output_latency.set_sensitive (true);
+               input_channels.set_sensitive (true);
+               output_channels.set_sensitive (true);
+
                ok_button->set_sensitive (true);
                apply_button->set_sensitive (true);