Fix copy-paste error.

(cherry picked from commit 305d449a47)
This commit is contained in:
Juergen Spitzmueller 2018-09-16 10:34:01 +02:00
parent c2ea2057fb
commit b5892e58f0
2 changed files with 3 additions and 1 deletions

View File

@ -3670,7 +3670,7 @@ def convert_captionlayouts(document):
document.body[j:j] = ["\\end_layout", "", "\\end_inset", "", ""]
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]
i += 1

View File

@ -100,6 +100,8 @@ What's new
- Do not mark the import converters for Sweave and knitr as needauth.
- Fix conversion of captions from LyX 2.0 documents.
* USER INTERFACE