mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 06:57:01 +00:00
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:
parent
b64d17e9dc
commit
66e650e5da
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user