Fix copy-paste error.

Candidate for stable.
This commit is contained in:
Juergen Spitzmueller 2018-09-16 10:34:01 +02:00
parent 7f4b81a9f7
commit 305d449a47

View File

@ -3672,7 +3672,7 @@ def convert_captionlayouts(document):
document.body[j:j] = ["\\end_layout", "", "\\end_inset", "", ""] document.body[j:j] = ["\\end_layout", "", "\\end_inset", "", ""]
document.body[i:i+1] = ["\\begin_layout %s" % document.default_layout, document.body[i:i+1] = ["\\begin_layout %s" % document.default_layout,
"\\begin_inset Caption %s" % caption_dict[val], "", "\\begin_inset Caption %s" % caption_dict[captype], "",
"\\begin_layout %s" % document.default_layout] "\\begin_layout %s" % document.default_layout]
i = j + 1 i = j + 1