mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Simplify
This commit is contained in:
parent
e302757476
commit
ab31598e04
@ -3930,8 +3930,7 @@ def convert_docbook_table_output(document):
|
||||
|
||||
|
||||
def revert_docbook_table_output(document):
|
||||
i = find_token(document.header, '\\docbook_table_output 0')
|
||||
i = find_token(document.header, '\\docbook_table_output 1') if i == -1 else i
|
||||
i = find_token(document.header, '\\docbook_table_output')
|
||||
if i != -1:
|
||||
del document.header[i]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user