Old lyx files (from 1.0 era) can start with a begin deeper

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19097 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
José Matox 2007-07-17 11:53:46 +00:00
parent d3b4961e16
commit 95cf1d65f3

View File

@ -228,7 +228,7 @@ class LyX_Base:
if not line:
continue
if line.split()[0] in ("\\layout", "\\begin_layout", "\\begin_body"):
if line.split()[0] in ("\\layout", "\\begin_layout", "\\begin_body", "\\begin_deeper"):
self.body.append(line)
break