13
0

fix crash caused by thinko in 123fcf3cf

This commit is contained in:
Paul Davis 2017-02-27 16:39:22 +01:00
parent 50a29f60ff
commit 007808a6ad

View File

@ -119,8 +119,9 @@ RouteProcessorSelection::remove (AxisView* r)
AxisViewSelection::iterator i; AxisViewSelection::iterator i;
if ((i = find (axes.begin(), axes.end(), r)) != axes.end()) { if ((i = find (axes.begin(), axes.end(), r)) != axes.end()) {
AxisView* av = *i;
axes.erase (i); axes.erase (i);
(*i)->set_selected (false); av->set_selected (false);
} }
} }