lyx2lyx: fix glitch in revert_starred_refs

This commit is contained in:
Juergen Spitzmueller 2022-12-21 08:52:44 +01:00
parent 29ae7b31c2
commit ceffadfbab

View File

@ -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 + "}"