mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
Consolidate code, skip editor/mixer update check
This commit is contained in:
parent
629289dc4a
commit
7859340191
1 changed files with 4 additions and 6 deletions
|
|
@ -5567,14 +5567,12 @@ Editor::timeaxisview_deleted (TimeAxisView *tv)
|
||||||
i = track_views.erase (i);
|
i = track_views.erase (i);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* update whatever the current mixer strip is displaying, if revelant */
|
/* Update the route that is shown in the editor-mixer. */
|
||||||
|
if (!rtav) {
|
||||||
boost::shared_ptr<Route> route;
|
return;
|
||||||
|
|
||||||
if (rtav) {
|
|
||||||
route = rtav->route ();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
boost::shared_ptr<Route> route = rtav->route ();
|
||||||
if (current_mixer_strip && current_mixer_strip->route() == route) {
|
if (current_mixer_strip && current_mixer_strip->route() == route) {
|
||||||
|
|
||||||
TimeAxisView* next_tv;
|
TimeAxisView* next_tv;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue