mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
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:
parent
887343ca05
commit
27f9f5b0c3
@ -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.")
|
||||
|
Loading…
Reference in New Issue
Block a user