Fix state restoration in EngineControl dialog for backends with driver selection
authorTim Mayberry <mojofunk@gmail.com>
Wed, 12 Aug 2015 14:19:01 +0000 (00:19 +1000)
committerTim Mayberry <mojofunk@gmail.com>
Wed, 12 Aug 2015 14:19:01 +0000 (00:19 +1000)
We want to save the driver name even when the engine is running and the driver
combo is insensitive

gtk2_ardour/engine_dialog.cc

index fcb690b645ce85c623daf8574d7c485b27419d6f..9b9b1bf32338be53b85dac7d28d188873252a3dd 100644 (file)
@@ -2405,7 +2405,7 @@ EngineControl::get_backend () const
 string
 EngineControl::get_driver () const
 {
-       if (driver_combo.get_sensitive() && driver_combo.get_parent()) {
+       if (driver_combo.get_parent()) {
                return driver_combo.get_active_text ();
        } else {
                return "";