projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
don't crash if there's no editor mixer and we remove a route
[ardour.git]
/
gtk2_ardour
/
editor_route_list.cc
diff --git
a/gtk2_ardour/editor_route_list.cc
b/gtk2_ardour/editor_route_list.cc
index f11970c84db313c933fbb432bd0aa516b5d2d934..923e3082a83f15e91477fce5d015d199b4a0e385 100644
(file)
--- a/
gtk2_ardour/editor_route_list.cc
+++ b/
gtk2_ardour/editor_route_list.cc
@@
-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);