]> git.lyx.org Git - features.git/commitdiff
Fix from Martin to revert frame boxes.
authorJosé Matox <jamatos@lyx.org>
Mon, 19 Apr 2004 12:14:15 +0000 (12:14 +0000)
committerJosé Matox <jamatos@lyx.org>
Mon, 19 Apr 2004 12:14:15 +0000 (12:14 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8668 a592a061-630c-0410-9148-cb99ea01b6c8

lib/lyx2lyx/ChangeLog
lib/lyx2lyx/lyx_1_4.py

index 96da1b273a3594d220459c61a774304faa5a750e..70e514ada025ac9cdc4cec95452f9440a09c9b84 100644 (file)
@@ -1,3 +1,7 @@
+2004-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
+       * lyx_1_4.py (convert_frameless_box): Replace instead of adding
+       new code.
+.
 2004-04-14  José Matos  <jamatos@lyx.org>
 
        * error.py
index 4ad3c1534631e50417f8ce3299a9ca42095a0868..212805b338295b331db114da46988a84f733822c 100644 (file)
@@ -1008,7 +1008,7 @@ def convert_frameless_box(lines, opt):
            if j == -1:
                opt.warning("Malformed LyX file: Missing '\\end_inset'.")
                break
-           lines[j-1:j-1] += ['\\begin_inset ERT', 'status ' + params['collapsed'],
+            lines[j-1:j-1] = ['\\begin_inset ERT', 'status ' + params['collapsed'],
                               '', '\\layout Standard', '']
            j = j + 4
            if params['use_parbox'] == '1':