]> git.lyx.org Git - features.git/commitdiff
fix wrong fix r19160. I did not have an extra \end_layout, but missed a \begin_layout
authorBo Peng <bpeng@lyx.org>
Sat, 21 Jul 2007 05:45:50 +0000 (05:45 +0000)
committerBo Peng <bpeng@lyx.org>
Sat, 21 Jul 2007 05:45:50 +0000 (05:45 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19163 a592a061-630c-0410-9148-cb99ea01b6c8

lib/lyx2lyx/lyx_1_5.py

index f594847ce2a1a5d412f70834895935e2db027be6..f8bcd6e4d2fc1b72162b6b35e9207e1b3550b23e 100644 (file)
@@ -1800,6 +1800,9 @@ after label
                                       '',
                                       r'\backslash',
                                       r'begin{lstlisting}%s' % params,
+                                      r'\end_layout',
+                                      '',
+                                      r'\begin_layout %s' % document.default_layout,
                                     ] + document.body[k : j - 1] + \
                                      ['',
                                       r'\begin_layout %s' % document.default_layout,