mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-22 13:17:17 +01:00
don't crash if there's no editor mixer and we remove a route
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4793 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
869a547879
commit
463b95ec65
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ Editor::remove_route (TimeAxisView *tv)
|
|||
}
|
||||
}
|
||||
|
||||
if (current_mixer_strip->route() == route) {
|
||||
if (current_mixer_strip && (current_mixer_strip->route() == route)) {
|
||||
|
||||
if (next_tv) {
|
||||
set_selected_mixer_strip (*next_tv);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue