mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 22:49:20 +00:00
lyx2lyx: fix glitch in revert_starred_refs
This commit is contained in:
parent
29ae7b31c2
commit
ceffadfbab
@ -4580,6 +4580,7 @@ def revert_starred_refs(document):
|
|||||||
# document.warning("Skipping " + cmd + " " + ref)
|
# document.warning("Skipping " + cmd + " " + ref)
|
||||||
if nolinkline != -1:
|
if nolinkline != -1:
|
||||||
del document.body[nolinkline]
|
del document.body[nolinkline]
|
||||||
|
nolinkline = -1
|
||||||
continue
|
continue
|
||||||
# We need to construct a new command and put it in ERT
|
# We need to construct a new command and put it in ERT
|
||||||
newcmd = "\\" + cmd + "*{" + ref + "}"
|
newcmd = "\\" + cmd + "*{" + ref + "}"
|
||||||
|
Loading…
Reference in New Issue
Block a user