mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +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)
|
||||
if nolinkline != -1:
|
||||
del document.body[nolinkline]
|
||||
nolinkline = -1
|
||||
continue
|
||||
# We need to construct a new command and put it in ERT
|
||||
newcmd = "\\" + cmd + "*{" + ref + "}"
|
||||
|
Loading…
Reference in New Issue
Block a user