diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-01-30 12:54:48 +0100 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-01-30 12:55:43 +0100 |
commit | f2a9c5f6259c82c2cd546b1c114c59f26e4497f0 (patch) | |
tree | 7f6e6f80e843cccde96b2e08df8ee3a318d31c6a /gtk2_ardour/route_processor_selection.cc | |
parent | c3917572a5b25c388ad9808e52914f41f78e1c7e (diff) |
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
Diffstat (limited to 'gtk2_ardour/route_processor_selection.cc')
-rw-r--r-- | gtk2_ardour/route_processor_selection.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/route_processor_selection.cc b/gtk2_ardour/route_processor_selection.cc index 6b7592efd4..ab512d3bb1 100644 --- a/gtk2_ardour/route_processor_selection.cc +++ b/gtk2_ardour/route_processor_selection.cc @@ -115,6 +115,7 @@ void RouteProcessorSelection::remove (AxisView* r) { ENSURE_GUI_THREAD (*this, &RouteProcessorSelection::remove, r); + PresentationInfo::ChangeSuspender cs; AxisViewSelection::iterator i; if ((i = find (axes.begin(), axes.end(), r)) != axes.end()) { |