diff --git a/gtk2_ardour/route_processor_selection.cc b/gtk2_ardour/route_processor_selection.cc index 836e63fcfe..9429005e6f 100644 --- a/gtk2_ardour/route_processor_selection.cc +++ b/gtk2_ardour/route_processor_selection.cc @@ -119,8 +119,8 @@ RouteProcessorSelection::remove (AxisView* r) AxisViewSelection::iterator i; if ((i = find (axes.begin(), axes.end(), r)) != axes.end()) { - (*i)->set_selected (false); axes.erase (i); + (*i)->set_selected (false); } }