Skip to content
Snippets Groups Projects
Commit 39134c32 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

better fix

parent ab96672a
Branches
Tags
No related merge requests found
......@@ -62,7 +62,10 @@ PView::PView(PView *ref, bool copyOptions)
if(ref->getAliasOf()){ // alias of an alias
PView *orig = getViewByNum(ref->getAliasOf());
if(orig) _aliasOf = orig->getNum();
else Msg::Error("Could not find original view for alias");
else{
Msg::Warning("Original view for alias does not exist anymore");
_aliasOf = ref->getNum();
}
}
else
_aliasOf = ref->getNum();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment