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:
Uwe Stöhr 2008-10-14 00:56:17 +00:00
parent b2bb5e5090
commit 263e72d53a

View File

@ -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"
##