Fix logic in tabular dialog with decimal alignment

Fixes: #9570

Partially reverts [9d05ac5c912/lyxgit].
This commit is contained in:
Juergen Spitzmueller 2015-05-25 15:55:11 +02:00
parent dfa9d0b9a6
commit c60827146f

View File

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