--- a/src/toolsets/viewtoolset.cpp Sat Feb 13 04:06:49 2016 +0200 +++ b/src/toolsets/viewtoolset.cpp Sat Feb 13 04:14:43 2016 +0200 @@ -89,8 +89,11 @@ continue; // For subfiles, type check is not enough, we check the name of the document as well. - if (type == OBJ_SubfileReference and not subfilenames.contains (static_cast<LDSubfileReference*> (obj)->fileInfo()->name())) + if (type == OBJ_SubfileReference + and not subfilenames.contains (static_cast<LDSubfileReference*> (obj)->fileInfo()->name())) + { continue; + } obj->select(); }