From: Uwe Stöhr Date: Tue, 20 Mar 2012 00:40:07 +0000 (+0100) Subject: GuiTabular.cpp: fix bug #8092 X-Git-Tag: 2.1.0beta1~1933^2~86 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e900dc9f7312261be91732e298a713fa8c85096c;p=features.git GuiTabular.cpp: fix bug #8092 --- diff --git a/src/frontends/qt4/GuiTabular.cpp b/src/frontends/qt4/GuiTabular.cpp index 8e9d7a4afe..5e642ef65d 100644 --- a/src/frontends/qt4/GuiTabular.cpp +++ b/src/frontends/qt4/GuiTabular.cpp @@ -218,9 +218,6 @@ void GuiTabular::checkEnabled() tabularWidthED->setEnabled(setwidth); tabularWidthUnitLC->setEnabled(setwidth); - bool const is_tabular_star = !tabularWidthED->text().isEmpty(); - rotateTabularCB->setDisabled(is_tabular_star); - rotateCellAngleSB->setEnabled(rotateCellCB->isChecked()); bool const enable_valign = @@ -239,6 +236,7 @@ void GuiTabular::checkEnabled() interlinespaceUnitLC->setEnabled(interlinespaceCO->currentIndex() == 2); // setting as longtable is not allowed when table is inside a float + bool const is_tabular_star = !tabularWidthED->text().isEmpty(); longTabularCB->setEnabled(!is_tabular_star && funcEnabled(Tabular::SET_LONGTABULAR)); bool const longtabular = longTabularCB->isChecked(); longtableGB->setEnabled(true);