projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b75956d
)
Fix another crash on session creation if the stored selection no longer exists in...
author
Carl Hetherington
<carl@carlh.net>
Mon, 30 Aug 2010 01:37:56 +0000
(
01:37
+0000)
committer
Carl Hetherington
<carl@carlh.net>
Mon, 30 Aug 2010 01:37:56 +0000
(
01:37
+0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@7711
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/selection.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/selection.cc
b/gtk2_ardour/selection.cc
index 42f1a80f0b117671a9c75f7a873e52fce06ce672..d04c986092ab2235026f7d0f2ae937bfe78f5571 100644
(file)
--- a/
gtk2_ardour/selection.cc
+++ b/
gtk2_ardour/selection.cc
@@
-1129,8
+1129,9
@@
Selection::set_state (XMLNode const & node, int)
assert (prop_id);
PBD::ID id (prop_id->value ());
RouteTimeAxisView* rtv = editor->get_route_view_by_route_id (id);
- assert (rtv);
- add (rtv);
+ if (rtv) {
+ add (rtv);
+ }
} else if ((*i)->name() == X_("AutomationView")) {