diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-02-27 16:39:22 +0100 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-02-27 16:39:22 +0100 |
commit | 007808a6ad96f38e84ce1db12d448628d80baa0a (patch) | |
tree | 5b7aed19174cabc9e3d9f3f3e1f0fcdc2d878533 | |
parent | 50a29f60ffefff9b276fac6e6f508642d29e9760 (diff) |
fix crash caused by thinko in 123fcf3cf
-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); } } |