From: Vincent van Ravesteijn Date: Wed, 16 Feb 2011 23:06:43 +0000 (+0000) Subject: Revert r37704. It enabled SET_TABULAR_WIDTH for all longtables (new fix coming soon) X-Git-Tag: 2.0.0~712 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=21992716e52ca8c277b2a448f15c8164563b3ff7;p=features.git Revert r37704. It enabled SET_TABULAR_WIDTH for all longtables (new fix coming soon) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37705 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index 3e2f6b304c..2f0a111fee 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -4323,10 +4323,8 @@ bool InsetTabular::getStatus(Cursor & cur, FuncRequest const & cmd, return true; case Tabular::SET_TABULAR_WIDTH: - status.setEnabled(tabular.tabular_width.zero() - || (!tabular.rotate && !tabular.is_long_tabular - && tabular.tabular_valignment == - Tabular::LYX_VALIGN_MIDDLE)); + status.setEnabled(!tabular.rotate && !tabular.is_long_tabular + && tabular.tabular_valignment == Tabular::LYX_VALIGN_MIDDLE); break; case Tabular::SET_DECIMAL_POINT: