]> git.lyx.org Git - features.git/commitdiff
GuiTabular.cpp: fix bug #8092
authorUwe Stöhr <uwestoehr@lyx.org>
Tue, 20 Mar 2012 00:40:07 +0000 (01:40 +0100)
committerUwe Stöhr <uwestoehr@lyx.org>
Tue, 20 Mar 2012 00:40:07 +0000 (01:40 +0100)
src/frontends/qt4/GuiTabular.cpp

index 8e9d7a4afeac2e0792a490023dbd1e9cd77f7859..5e642ef65d8b873dd940e5dfd428f261b1a3e878 100644 (file)
@@ -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);