diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-13 16:38:08 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-13 16:39:26 -0400 |
commit | dc43189c7e014a8295bdf442c8ca4e91d0c9287f (patch) | |
tree | 5f7fd70086ee3a487df45e10081c81d543380550 /gtk2_ardour/window_manager.cc | |
parent | 7a1084d349fbc92126d491163da5ebd7ade52237 (diff) |
fix save/restore of preferences torn-off-window state
Diffstat (limited to 'gtk2_ardour/window_manager.cc')
-rw-r--r-- | gtk2_ardour/window_manager.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/window_manager.cc b/gtk2_ardour/window_manager.cc index 73260b1f56..c9c8d78b6a 100644 --- a/gtk2_ardour/window_manager.cc +++ b/gtk2_ardour/window_manager.cc @@ -68,7 +68,7 @@ Manager::register_window (ProxyBase* info) if (!window_actions) { window_actions = ARDOUR_UI::instance()->global_actions.create_action_group (X_("Window")); } - + info->set_action (ARDOUR_UI::instance()->global_actions.register_toggle_action (window_actions, info->action_name().c_str(), info->menu_name().c_str(), sigc::bind (sigc::mem_fun (*this, &Manager::toggle_window), info))); @@ -159,7 +159,7 @@ Manager::show_visible() const * ::signal_response(). This means we need to * destroy the window as well, so that the code * which checks if it should be created will - * find that it is missing and will create it + * find that it is missing and will create it * and connect to any necessary signals. */ (*i)->drop_window (); |