Fix another crash on session creation if the stored selection no longer exists in the session.
git-svn-id: svn://localhost/ardour2/branches/3.0@7711 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
b75956d35d
commit
80084dcdf3
@ -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);
|
||||
if (rtv) {
|
||||
add (rtv);
|
||||
}
|
||||
|
||||
} else if ((*i)->name() == X_("AutomationView")) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user