13
0

fix issue with WM close/delete ("X") button not working for window proxied dialogs (e.g. add route dialog)

This commit is contained in:
Paul Davis 2016-08-16 13:56:53 -04:00
parent 18af0dc4cd
commit 46710a75de

View File

@ -69,9 +69,9 @@ Manager::register_window (ProxyBase* info)
window_actions = ARDOUR_UI::instance()->global_actions.create_action_group (X_("Window")); 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, ARDOUR_UI::instance()->global_actions.register_toggle_action (window_actions,
info->action_name().c_str(), info->menu_name().c_str(), info->action_name().c_str(), info->menu_name().c_str(),
sigc::bind (sigc::mem_fun (*this, &Manager::toggle_window), info))); sigc::bind (sigc::mem_fun (*this, &Manager::toggle_window), info));
info->signal_map.connect (sigc::bind (sigc::mem_fun (*this, &Manager::window_proxy_was_mapped), info)); info->signal_map.connect (sigc::bind (sigc::mem_fun (*this, &Manager::window_proxy_was_mapped), info));
info->signal_unmap.connect (sigc::bind (sigc::mem_fun (*this, &Manager::window_proxy_was_unmapped), info)); info->signal_unmap.connect (sigc::bind (sigc::mem_fun (*this, &Manager::window_proxy_was_unmapped), info));