Commit 56df4e29 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Fixed possible crash when trying to link invalid documents.

parent 5d0f65fc
......@@ -258,6 +258,9 @@ QList<Document::Ptr> Link::reachableDocuments(Document::Ptr startDoc, const Snap
QList<Document::Ptr> docs;
if (! startDoc)
return docs;
QSet<QString> processed;
QStringList todo;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment