mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-10 18:58:10 +00:00
Fix for revert_nocite lyx2lyx. Warnings as before.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25037 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f7158c0d29
commit
3e70c177a9
@ -1502,9 +1502,8 @@ def revert_nocite(document):
|
||||
return
|
||||
revert_nocite_key(document.body, i + 1, j)
|
||||
document.body[i-1] = "\\begin_inset ERT"
|
||||
document.body[i] = "status collapsed\n\n" \
|
||||
"\\begin_layout Standard"
|
||||
document.body.insert(j, "\\end_layout\n");
|
||||
document.body[i:i+1] = ["status collapsed", "", "\\begin_layout Standard"]
|
||||
document.body[j+1:j+1] = ["\\end_layout", ""]
|
||||
i = j
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user