mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Fix reversion of box insets.
This commit is contained in:
parent
061509bf75
commit
da75d31948
@ -4365,7 +4365,7 @@ def revert_mbox_fbox(document):
|
|||||||
i += 1
|
i += 1
|
||||||
continue
|
continue
|
||||||
BeginLayout = find_token(document.body, "\\begin_layout Plain Layout", j)
|
BeginLayout = find_token(document.body, "\\begin_layout Plain Layout", j)
|
||||||
EndLayout = find_token(document.body, "\\end_layout", BeginLayout)
|
EndLayout = find_end_of_layout(document.body, BeginLayout)
|
||||||
# replace if width is ""
|
# replace if width is ""
|
||||||
if (width == '""'):
|
if (width == '""'):
|
||||||
document.body[EndLayout:k + 1] = put_cmd_in_ert("}")
|
document.body[EndLayout:k + 1] = put_cmd_in_ert("}")
|
||||||
|
Loading…
Reference in New Issue
Block a user