new design for region dragging; make add route dialog float over the correct window...
[ardour.git] / gtk2_ardour / ardour_ui_ed.cc
index f80e71a410f66d6e9c8d93e34e07b7cbb81bc97c..f79564bb4348159f2ae73692bf64f90314679407 100644 (file)
@@ -99,7 +99,8 @@ ARDOUR_UI::install_actions ()
        act = ActionManager::register_action (main_actions, X_("Close"), _("Close"),  mem_fun(*this, &ARDOUR_UI::close_session));
        ActionManager::session_sensitive_actions.push_back (act);
 
-       act = ActionManager::register_action (main_actions, X_("AddTrackBus"), _("Add Track/Bus"),  mem_fun(*this, &ARDOUR_UI::add_route));
+       act = ActionManager::register_action (main_actions, X_("AddTrackBus"), _("Add Track/Bus"),  
+                                             bind (mem_fun(*this, &ARDOUR_UI::add_route), (Gtk::Window*) 0));
        ActionManager::session_sensitive_actions.push_back (act);