mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
prevent crash when deselecting track from mixer.
Need to defer PresentationInfo::Change till after we're done changing our own cached set of axis views
This commit is contained in:
parent
c3917572a5
commit
f2a9c5f625
1 changed files with 1 additions and 0 deletions
|
|
@ -115,6 +115,7 @@ void
|
||||||
RouteProcessorSelection::remove (AxisView* r)
|
RouteProcessorSelection::remove (AxisView* r)
|
||||||
{
|
{
|
||||||
ENSURE_GUI_THREAD (*this, &RouteProcessorSelection::remove, r);
|
ENSURE_GUI_THREAD (*this, &RouteProcessorSelection::remove, r);
|
||||||
|
PresentationInfo::ChangeSuspender cs;
|
||||||
|
|
||||||
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()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue