diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc index c0ab51982f..d046b0e496 100644 --- a/gtk2_ardour/route_ui.cc +++ b/gtk2_ardour/route_ui.cc @@ -185,9 +185,10 @@ RouteUI::set_route (boost::shared_ptr rp) set_color (unique_random_color()); } - if (self_destruct) { - rp->DropReferences.connect (route_connections, invalidator (*this), boost::bind (&RouteUI::self_delete, this), gui_context()); - } + rp->DropReferences.connect (route_connections, + invalidator (*this), + boost::bind (self_destruct ? &RouteUI::self_delete : &RouteUI::reset, + this), gui_context()); mute_button.set_controllable (_route->mute_control()); solo_button.set_controllable (_route->solo_control()); diff --git a/gtk2_ardour/ui/editor_mixer.xml b/gtk2_ardour/ui/editor_mixer.xml index c0f344056b..41fa83dbf0 100644 --- a/gtk2_ardour/ui/editor_mixer.xml +++ b/gtk2_ardour/ui/editor_mixer.xml @@ -1,6 +1,6 @@ - +