fix crash caused by thinko in 123fcf3cf
This commit is contained in:
parent
50a29f60ff
commit
007808a6ad
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user