mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
fix potential crash bug in RouteProcessorSelection
This commit is contained in:
parent
8c1e06a5e9
commit
123fcf3cff
1 changed files with 1 additions and 1 deletions
|
|
@ -119,8 +119,8 @@ 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()) {
|
||||||
(*i)->set_selected (false);
|
|
||||||
axes.erase (i);
|
axes.erase (i);
|
||||||
|
(*i)->set_selected (false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue