From 9fd03bf5609dd46c121794db5b6c39377f64980a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Matox?= Date: Mon, 19 Apr 2004 12:14:15 +0000 Subject: [PATCH] Fix from Martin to revert frame boxes. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8668 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/lyx2lyx/ChangeLog | 4 ++++ lib/lyx2lyx/lyx_1_4.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/lyx2lyx/ChangeLog b/lib/lyx2lyx/ChangeLog index 96da1b273a..70e514ada0 100644 --- a/lib/lyx2lyx/ChangeLog +++ b/lib/lyx2lyx/ChangeLog @@ -1,3 +1,7 @@ +2004-04-19 Martin Vermeer + * lyx_1_4.py (convert_frameless_box): Replace instead of adding + new code. +. 2004-04-14 José Matos * error.py diff --git a/lib/lyx2lyx/lyx_1_4.py b/lib/lyx2lyx/lyx_1_4.py index 4ad3c15346..212805b338 100644 --- a/lib/lyx2lyx/lyx_1_4.py +++ b/lib/lyx2lyx/lyx_1_4.py @@ -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': -- 2.39.5