From 66e650e5daa4658a84bdc5fbaa27f06bc164bf22 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Thu, 13 Sep 2012 00:41:57 +0200 Subject: [PATCH] InsetTabular: fix resetting reset decimal alignment If no special alignment is set the default is center not left - my mistake --- src/insets/InsetTabular.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index d96de8fa36..840f3cbddd 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -5235,7 +5235,7 @@ void InsetTabular::tabularFeatures(Cursor & cur, case Tabular::ALIGN_DECIMAL: if (tabular.column_info[tabular.cellColumn(cur.idx())].alignment == LYX_ALIGN_DECIMAL) - setAlign = LYX_ALIGN_LEFT; + setAlign = LYX_ALIGN_CENTER; else setAlign = LYX_ALIGN_DECIMAL; break; -- 2.39.2