]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetTabular.cpp
InsetTabular: fix resetting reset decimal alignment
[features.git] / src / insets / InsetTabular.cpp
index d96de8fa360f678b5181189f04e29ad498bcf15d..840f3cbddd15685907c00087b4e25394351f0e9b 100644 (file)
@@ -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;