Fix thinko in revert_tabularvalign

This commit is contained in:
Juergen Spitzmueller 2015-12-27 17:22:21 +01:00
parent d0d45d4043
commit 6b5d5666ac

View File

@ -117,7 +117,7 @@ def revert_tabularvalign(document):
if tabularvalignment == 'c': if tabularvalignment == 'c':
i = end i = end
continue continue
subst = ['\\end_layout', '\\end_inset'] subst = ['\\end_inset', '\\end_layout']
document.body[end:end] = subst # just inserts those lines document.body[end:end] = subst # just inserts those lines
subst = ['\\begin_inset Box Frameless', subst = ['\\begin_inset Box Frameless',
'position "' + tabularvalignment +'"', 'position "' + tabularvalignment +'"',