mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
lyx2lyx/lyx_1_6.py: fix remaining lyx2lyx issue of r26882
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26890 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b2bb5e5090
commit
263e72d53a
@ -3006,7 +3006,9 @@ def convert_backref_options(document):
|
||||
del document.header[j]
|
||||
# backref=true was not a valid option, we meant backref=section
|
||||
k = find_token(document.header, "\\pdf_backref true", 0)
|
||||
if k != -1:
|
||||
if k != -1 and i != -1:
|
||||
del document.header[k]
|
||||
elif k != -1 and j != -1:
|
||||
document.header[k] = "\\pdf_backref section"
|
||||
|
||||
##
|
||||
|
Loading…
Reference in New Issue
Block a user