src/toolsets/viewtoolset.cpp

changeset 1016
3b279b5e57d3
parent 1014
f0a8ecb6a357
child 1017
fc1c13db9618
--- 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();
 	}

mercurial