diff options
-rw-r--r-- | gtk2_ardour/route_processor_selection.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/route_processor_selection.cc b/gtk2_ardour/route_processor_selection.cc index 9429005e6f..5b0b48c4ba 100644 --- a/gtk2_ardour/route_processor_selection.cc +++ b/gtk2_ardour/route_processor_selection.cc @@ -119,8 +119,9 @@ RouteProcessorSelection::remove (AxisView* r) AxisViewSelection::iterator i; if ((i = find (axes.begin(), axes.end(), r)) != axes.end()) { + AxisView* av = *i; axes.erase (i); - (*i)->set_selected (false); + av->set_selected (false); } } |