diff options
Diffstat (limited to 'gtk2_ardour/editor.cc')
-rw-r--r-- | gtk2_ardour/editor.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index fc74837739..1693ddae05 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -5543,6 +5543,11 @@ Editor::timeaxisview_deleted (TimeAxisView *tv) ENSURE_GUI_THREAD (*this, &Editor::timeaxisview_deleted, tv); + if (dynamic_cast<AutomationTimeAxisView*> (tv)) { + selection->remove (tv); + return; + } + RouteTimeAxisView* rtav = dynamic_cast<RouteTimeAxisView*> (tv); _routes->route_removed (tv); |