--- 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;