mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 07:05:43 +01:00
Don't modify a RouteUISelection that we've just erased
This commit is contained in:
parent
bb4576b700
commit
f8650acb47
1 changed files with 1 additions and 1 deletions
|
|
@ -124,8 +124,8 @@ RouteProcessorSelection::remove (RouteUI* r)
|
|||
|
||||
RouteUISelection::iterator i;
|
||||
if ((i = find (routes.begin(), routes.end(), r)) != routes.end()) {
|
||||
routes.erase (i);
|
||||
(*i)->set_selected (false);
|
||||
routes.erase (i);
|
||||
if (!_no_route_change_signal) {
|
||||
RoutesChanged ();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue