lyx_2_0.py: revert unwanted changes from r34773

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34776 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2010-07-06 03:30:35 +00:00
parent 887343ca05
commit 27f9f5b0c3

View File

@ -278,7 +278,6 @@ def revert_flex_inset(document, name, LaTeXname, position):
i = find_token(document.body, '\\begin_inset Flex ' + name, i)
if i == -1:
return
else:
z = find_end_of_inset(document.body, i)
if z == -1:
document.warning("Malformed LyX document: Can't find end of Flex " + name + " inset.")