more correct implementation for RouteProcessorSelection::set (AxisView*)
Suspending changes while clearing core selection stripables doesn't work correctly, because we are not notified of the change before attempting to add the argument.
This commit is contained in:
parent
fd1f68c34a
commit
90d21161e7
|
@ -172,9 +172,10 @@ RouteProcessorSelection::set (AxisView* r)
|
|||
if (!shp.session()) {
|
||||
return;
|
||||
}
|
||||
PresentationInfo::ChangeSuspender cs;
|
||||
shp.session()->selection().clear_stripables ();
|
||||
add (r, true);
|
||||
|
||||
StripableList sl;
|
||||
sl.push_back (r->stripable());
|
||||
shp.session()->selection().set (sl);
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
Loading…
Reference in New Issue
Block a user