]> git.lyx.org Git - features.git/commitdiff
Fix thinko in revert_tabularvalign
authorJuergen Spitzmueller <spitz@lyx.org>
Sun, 27 Dec 2015 16:22:21 +0000 (17:22 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Sun, 27 Dec 2015 16:23:16 +0000 (17:23 +0100)
lib/lyx2lyx/lyx_2_0.py

index 9b237c92e6bb44b99f731ee2024c17889e3b6241..6db4d21f274654136af410cd31fe17551a1c25d4 100644 (file)
@@ -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 +'"',