diff options
author | John Emmas <johne53@tiscali.co.uk> | 2015-04-17 16:12:48 +0100 |
---|---|---|
committer | John Emmas <johne53@tiscali.co.uk> | 2015-04-17 16:13:40 +0100 |
commit | f8650acb476227c3fffe739b97be28421810fcb6 (patch) | |
tree | 497dcdb4c2bddbbb546351b24bf7d4346a78f9bb | |
parent | bb4576b700af86ce2ea43cdfa6af46834befdb87 (diff) |
Don't modify a RouteUISelection that we've just erased
-rw-r--r-- | gtk2_ardour/route_processor_selection.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/route_processor_selection.cc b/gtk2_ardour/route_processor_selection.cc index e66eaf959e..8975bf90bc 100644 --- a/gtk2_ardour/route_processor_selection.cc +++ b/gtk2_ardour/route_processor_selection.cc @@ -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 (); } |