commit 305d449a47bf54d4f8ec594b0d1a2b5cf070c30b
Author: Juergen Spitzmueller <[email protected]>
Date:   Sun Sep 16 10:34:01 2018 +0200

    Fix copy-paste error.
    
    Candidate for stable.
---
 lib/lyx2lyx/lyx_2_1.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/lyx2lyx/lyx_2_1.py b/lib/lyx2lyx/lyx_2_1.py
index 09e74a3..1dfe163 100644
--- a/lib/lyx2lyx/lyx_2_1.py
+++ b/lib/lyx2lyx/lyx_2_1.py
@@ -3672,7 +3672,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 = j + 1
 

Reply via email to