diff options
author | Carl Hetherington <carl@carlh.net> | 2011-03-30 13:19:28 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-03-30 13:19:28 +0000 |
commit | de3ee71138113a20cf7467de6badfd9ecc004bc0 (patch) | |
tree | b3f526c60a212cb28d9af77ff1569cca2c7aec25 /gtk2_ardour | |
parent | 53d0aeea2b7fc9904e9e395b01b4b39c383c11e7 (diff) |
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
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/ardour_ui.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index eefef2b329..340dbe5030 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -334,8 +334,11 @@ ARDOUR_UI::ARDOUR_UI (int *argcp, char **argvp[]) } 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)); stopping.connect (sigc::mem_fun(*this, &ARDOUR_UI::shutdown)); |