From: Juergen Spitzmueller Date: Sun, 27 Dec 2015 16:22:21 +0000 (+0100) Subject: Fix thinko in revert_tabularvalign X-Git-Tag: 2.2.0beta1~306 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=6b5d5666acfaf971c121b09db7ccbfe2b4880e21;p=features.git Fix thinko in revert_tabularvalign --- diff --git a/lib/lyx2lyx/lyx_2_0.py b/lib/lyx2lyx/lyx_2_0.py index 9b237c92e6..6db4d21f27 100644 --- a/lib/lyx2lyx/lyx_2_0.py +++ b/lib/lyx2lyx/lyx_2_0.py @@ -117,7 +117,7 @@ def revert_tabularvalign(document): if tabularvalignment == 'c': i = end continue - subst = ['\\end_layout', '\\end_inset'] + subst = ['\\end_inset', '\\end_layout'] document.body[end:end] = subst # just inserts those lines subst = ['\\begin_inset Box Frameless', 'position "' + tabularvalignment +'"',