13
0

Untick speaker dialog in menu when it is closed (#3898).

git-svn-id: svn://localhost/ardour2/branches/3.0@9245 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-03-30 13:19:28 +00:00
parent 53d0aeea2b
commit de3ee71138

View File

@ -334,8 +334,11 @@ ARDOUR_UI::ARDOUR_UI (int *argcp, char **argvp[])
} }
setup_clock (); setup_clock ();
speaker_config_window->set (new SpeakerDialog);
SpeakerDialog* s = new SpeakerDialog ();
s->signal_unmap().connect (sigc::bind (sigc::ptr_fun (&ActionManager::uncheck_toggleaction), X_("<Actions>/Common/toggle-speaker-config")));
speaker_config_window->set (s);
starting.connect (sigc::mem_fun(*this, &ARDOUR_UI::startup)); starting.connect (sigc::mem_fun(*this, &ARDOUR_UI::startup));
stopping.connect (sigc::mem_fun(*this, &ARDOUR_UI::shutdown)); stopping.connect (sigc::mem_fun(*this, &ARDOUR_UI::shutdown));