fix initialization of audio-engine dialog
authorRobin Gareus <robin@gareus.org>
Sat, 14 Jun 2014 14:01:46 +0000 (16:01 +0200)
committerRobin Gareus <robin@gareus.org>
Sat, 14 Jun 2014 14:01:46 +0000 (16:01 +0200)
gtk2_ardour/engine_dialog.cc

index b50b24e899133d4917271cc5249ffb7565abbf0b..1980a4a7a02e298256a724990175d33f108edf25 100644 (file)
@@ -275,7 +275,11 @@ EngineControl::EngineControl ()
        ARDOUR::AudioEngine::instance()->Stopped.connect (stopped_connection, MISSING_INVALIDATOR, boost::bind (&EngineControl::engine_stopped, this), gui_context());
        ARDOUR::AudioEngine::instance()->Halted.connect (stopped_connection, MISSING_INVALIDATOR, boost::bind (&EngineControl::engine_stopped, this), gui_context());
 
-       backend_changed ();
+       {
+               PBD::Unwinder<uint32_t> protect_ignore_changes (ignore_changes, ignore_changes + 1);
+               backend_changed ();
+       }
+       maybe_display_saved_state();
 
        /* Connect to signals */