13
0

Fix ATAV GUI property cleanup

AutomationTimeAxisView::state_id() requires a stripable
(stripable == automatable + parameter OR  stripable + control)
This commit is contained in:
Robin Gareus 2017-08-01 16:32:31 +02:00
parent ab02284fc2
commit df76e4417d

View File

@ -313,13 +313,16 @@ AutomationTimeAxisView::AutomationTimeAxisView (
AutomationTimeAxisView::~AutomationTimeAxisView () AutomationTimeAxisView::~AutomationTimeAxisView ()
{ {
cleanup_gui_properties (); if (_stripable) {
cleanup_gui_properties ();
}
delete _view; delete _view;
} }
void void
AutomationTimeAxisView::route_going_away () AutomationTimeAxisView::route_going_away ()
{ {
cleanup_gui_properties ();
_stripable.reset (); _stripable.reset ();
} }