mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
fix #6998. Center alignment is the default, also with multirow.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35912 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ef7ecea2b3
commit
3381784318
@ -4279,7 +4279,6 @@ bool InsetTabular::getStatus(Cursor & cur, FuncRequest const & cmd,
|
|||||||
case Tabular::M_ALIGN_CENTER:
|
case Tabular::M_ALIGN_CENTER:
|
||||||
flag = false;
|
flag = false;
|
||||||
case Tabular::ALIGN_CENTER:
|
case Tabular::ALIGN_CENTER:
|
||||||
status.setEnabled(!tabular.isMultiRow(cur.idx()));
|
|
||||||
status.setOnOff(tabular.getAlignment(cur.idx(), flag) == LYX_ALIGN_CENTER);
|
status.setOnOff(tabular.getAlignment(cur.idx(), flag) == LYX_ALIGN_CENTER);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user