InsetTabular: fix resetting reset decimal alignment

If no special alignment is set the default is center not left - my mistake
This commit is contained in:
Uwe Stöhr 2012-09-13 00:41:57 +02:00
parent b64d17e9dc
commit 66e650e5da

View File

@ -5235,7 +5235,7 @@ void InsetTabular::tabularFeatures(Cursor & cur,
case Tabular::ALIGN_DECIMAL: case Tabular::ALIGN_DECIMAL:
if (tabular.column_info[tabular.cellColumn(cur.idx())].alignment == LYX_ALIGN_DECIMAL) if (tabular.column_info[tabular.cellColumn(cur.idx())].alignment == LYX_ALIGN_DECIMAL)
setAlign = LYX_ALIGN_LEFT; setAlign = LYX_ALIGN_CENTER;
else else
setAlign = LYX_ALIGN_DECIMAL; setAlign = LYX_ALIGN_DECIMAL;
break; break;