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:
Jürgen Spitzmüller 2010-10-29 17:02:01 +00:00
parent ef7ecea2b3
commit 3381784318

View File

@ -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;