diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-03-30 15:27:18 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-03-30 15:27:23 -0400 |
commit | 75e0f5a023b5485a6f6efb3ebd6f2ae21f5a041b (patch) | |
tree | 1f8c91929737d61ba785b463076f9b92427655ff /gtk2_ardour/automation_time_axis.cc | |
parent | 16be88cdb6bdf1db167de6d3488e3599e6d9eeb1 (diff) |
remove GUI object state when tracks/busses are removed.
Not doing this results in accumulation of useless GUI object state which is never cleaned up.
Taken from work by Grygorii Zharun.
Diffstat (limited to 'gtk2_ardour/automation_time_axis.cc')
-rw-r--r-- | gtk2_ardour/automation_time_axis.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/automation_time_axis.cc b/gtk2_ardour/automation_time_axis.cc index 12876c1abb..b486d54840 100644 --- a/gtk2_ardour/automation_time_axis.cc +++ b/gtk2_ardour/automation_time_axis.cc @@ -285,6 +285,7 @@ AutomationTimeAxisView::AutomationTimeAxisView ( AutomationTimeAxisView::~AutomationTimeAxisView () { + cleanup_gui_properties (); delete _view; } |