From: Uwe Stöhr Date: Wed, 21 Mar 2012 21:38:02 +0000 (+0100) Subject: GuiTabular.cpp, InsetTabular.cpp: remaining issues I forgot in previous commit X-Git-Tag: 2.0.4~164 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=5a2447ceda04bc79467eb592d2b385b3f83421c7;p=features.git GuiTabular.cpp, InsetTabular.cpp: remaining issues I forgot in previous commit --- diff --git a/src/frontends/qt4/GuiTabular.cpp b/src/frontends/qt4/GuiTabular.cpp index 593be70e90..090dca83de 100644 --- a/src/frontends/qt4/GuiTabular.cpp +++ b/src/frontends/qt4/GuiTabular.cpp @@ -210,7 +210,7 @@ void GuiTabular::checkEnabled() decimalLA->setEnabled(dalign); bool const setwidth = TableAlignCO->currentText() == qt_("Middle") - && !longTabularCB->isChecked() && !rotateTabularCB->isChecked(); + && !longTabularCB->isChecked(); tabularWidthLA->setEnabled(setwidth); tabularWidthED->setEnabled(setwidth); tabularWidthUnitLC->setEnabled(setwidth); diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index 508ad732de..3c97de5d66 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -4569,7 +4569,6 @@ bool InsetTabular::getStatus(Cursor & cur, FuncRequest const & cmd, case Tabular::TOGGLE_ROTATE_TABULAR: case Tabular::SET_ROTATE_TABULAR: - status.setEnabled(tabular.tabular_width.zero()); status.setOnOff(tabular.rotate); break;