src/gui_editactions.cpp

changeset 458
cb360f4d8979
parent 456
ae4fea87d6a1
child 460
b230ae09c8e5
--- a/src/gui_editactions.cpp	Sun Aug 18 16:33:38 2013 +0300
+++ b/src/gui_editactions.cpp	Sun Aug 18 17:30:58 2013 +0300
@@ -120,7 +120,11 @@
 		List<LDObject*> objs;
 		
 		if (obj->getType() == LDObject::Subfile)
-			objs = static_cast<LDSubfileObject*> (obj)->inlineContents (deep, true);
+			objs = static_cast<LDSubfileObject*> (obj)->inlineContents (
+				(LDSubfileObject::InlineFlags)
+				((deep) ? LDSubfileObject::DeepInline : 0) |
+				LDSubfileObject::CacheInline
+			);
 		else
 			continue;
 		

mercurial