]> git.lyx.org Git - features.git/commitdiff
fix #6998. Center alignment is the default, also with multirow.
authorJürgen Spitzmüller <spitz@lyx.org>
Fri, 29 Oct 2010 17:02:01 +0000 (17:02 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Fri, 29 Oct 2010 17:02:01 +0000 (17:02 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35912 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetTabular.cpp

index dbd0ae3d1af29031f7447882f6eb035437615416..6c4ff1a96af5bbca10e6171f8d2d38a8e856a9ed 100644 (file)
@@ -4279,7 +4279,6 @@ bool InsetTabular::getStatus(Cursor & cur, FuncRequest const & cmd,
                case Tabular::M_ALIGN_CENTER:
                        flag = false;
                case Tabular::ALIGN_CENTER:
-                       status.setEnabled(!tabular.isMultiRow(cur.idx()));
                        status.setOnOff(tabular.getAlignment(cur.idx(), flag) == LYX_ALIGN_CENTER);
                        break;