From 5a2447ceda04bc79467eb592d2b385b3f83421c7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Wed, 21 Mar 2012 22:38:02 +0100 Subject: [PATCH] GuiTabular.cpp, InsetTabular.cpp: remaining issues I forgot in previous commit --- src/frontends/qt4/GuiTabular.cpp | 2 +- src/insets/InsetTabular.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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; -- 2.39.5