GuiTabular.cpp, InsetTabular.cpp: remaining issues I forgot in previous commit

This commit is contained in:
Uwe Stöhr 2012-03-21 22:38:02 +01:00
parent 6f5ea2ae47
commit 5a2447ceda
2 changed files with 1 additions and 2 deletions

View 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);

View 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;