From: Uwe Stöhr Date: Wed, 12 Sep 2012 22:41:57 +0000 (+0200) Subject: InsetTabular: fix resetting reset decimal alignment X-Git-Tag: 2.1.0beta1~1548 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=66e650e5daa4658a84bdc5fbaa27f06bc164bf22;p=lyx.git InsetTabular: fix resetting reset decimal alignment If no special alignment is set the default is center not left - my mistake --- 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;