fix potential crash bug in RouteProcessorSelection

This commit is contained in:
Paul Davis 2017-02-25 19:55:22 +01:00
parent 8c1e06a5e9
commit 123fcf3cff
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}