diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-02-25 19:55:22 +0100 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-02-25 19:55:39 +0100 |
commit | 123fcf3cffe048b4a16bbb7442a9cd07659f4284 (patch) | |
tree | ce5a5c3f8aa4f42c38fe1fdc5fc2fab46af67904 | |
parent | 8c1e06a5e909e56cc8712d3c18f12a584d52f027 (diff) |
fix potential crash bug in RouteProcessorSelection
-rw-r--r-- | gtk2_ardour/route_processor_selection.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |