]> git.lyx.org Git - features.git/commitdiff
GuiTabular.cpp, InsetTabular.cpp: remaining issues I forgot in previous commit
authorUwe Stöhr <uwestoehr@lyx.org>
Wed, 21 Mar 2012 21:38:02 +0000 (22:38 +0100)
committerUwe Stöhr <uwestoehr@lyx.org>
Wed, 21 Mar 2012 21:38:02 +0000 (22:38 +0100)
src/frontends/qt4/GuiTabular.cpp
src/insets/InsetTabular.cpp

index 593be70e90d364eac84a2c5cae409b549bfe054d..090dca83de819caccb08497322ed09500e1e8db1 100644 (file)
@@ -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);
index 508ad732de55d9614e3c7828949a44280d02c5ab..3c97de5d66530f10e888a2875ca59d538e013628 100644 (file)
@@ -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;