mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Fix update of the editor mixer when its route is removed; this stops routes (and hence their JACK ports) hanging around after deletion in the UI.
git-svn-id: svn://localhost/ardour2/branches/3.0@6049 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
498dfebcca
commit
da03bc931b
1 changed files with 6 additions and 0 deletions
|
|
@ -4954,7 +4954,13 @@ Editor::remove_route (TimeAxisView *tv)
|
|||
ENSURE_GUI_THREAD(bind (mem_fun(*this, &Editor::remove_route), tv));
|
||||
|
||||
TrackViewList::iterator i;
|
||||
|
||||
boost::shared_ptr<Route> route;
|
||||
RouteTimeAxisView* rtav = dynamic_cast<RouteTimeAxisView*> (tv);
|
||||
if (rtav) {
|
||||
route = rtav->route ();
|
||||
}
|
||||
|
||||
TimeAxisView* next_tv = 0;
|
||||
|
||||
if (tv == entered_track) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue