commit c60827146fe7c4a2776c5f11355898f4bcaa1cee
Author: Juergen Spitzmueller <[email protected]>
Date: Mon May 25 15:55:11 2015 +0200
Fix logic in tabular dialog with decimal alignment
Fixes: #9570
Partially reverts [9d05ac5c912/lyxgit].
diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp
index 24bab87..7ae5bc0 100644
--- a/src/insets/InsetTabular.cpp
+++ b/src/insets/InsetTabular.cpp
@@ -5402,10 +5402,7 @@ 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;
+ setAlign = LYX_ALIGN_DECIMAL;
break;
case Tabular::M_VALIGN_TOP: