mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-11 09:06:33 +01:00
Fix ATAV GUI property cleanup
AutomationTimeAxisView::state_id() requires a stripable (stripable == automatable + parameter OR stripable + control)
This commit is contained in:
parent
ab02284fc2
commit
df76e4417d
1 changed files with 4 additions and 1 deletions
|
|
@ -313,13 +313,16 @@ AutomationTimeAxisView::AutomationTimeAxisView (
|
||||||
|
|
||||||
AutomationTimeAxisView::~AutomationTimeAxisView ()
|
AutomationTimeAxisView::~AutomationTimeAxisView ()
|
||||||
{
|
{
|
||||||
|
if (_stripable) {
|
||||||
cleanup_gui_properties ();
|
cleanup_gui_properties ();
|
||||||
|
}
|
||||||
delete _view;
|
delete _view;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
AutomationTimeAxisView::route_going_away ()
|
AutomationTimeAxisView::route_going_away ()
|
||||||
{
|
{
|
||||||
|
cleanup_gui_properties ();
|
||||||
_stripable.reset ();
|
_stripable.reset ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue