From 6b5d5666acfaf971c121b09db7ccbfe2b4880e21 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sun, 27 Dec 2015 17:22:21 +0100 Subject: [PATCH] Fix thinko in revert_tabularvalign --- lib/lyx2lyx/lyx_2_0.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 +'"', -- 2.39.5