mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
GuiTabular.cpp, InsetTabular.cpp: remaining issues I forgot in previous commit
This commit is contained in:
parent
6f5ea2ae47
commit
5a2447ceda
@ -210,7 +210,7 @@ void GuiTabular::checkEnabled()
|
|||||||
decimalLA->setEnabled(dalign);
|
decimalLA->setEnabled(dalign);
|
||||||
|
|
||||||
bool const setwidth = TableAlignCO->currentText() == qt_("Middle")
|
bool const setwidth = TableAlignCO->currentText() == qt_("Middle")
|
||||||
&& !longTabularCB->isChecked() && !rotateTabularCB->isChecked();
|
&& !longTabularCB->isChecked();
|
||||||
tabularWidthLA->setEnabled(setwidth);
|
tabularWidthLA->setEnabled(setwidth);
|
||||||
tabularWidthED->setEnabled(setwidth);
|
tabularWidthED->setEnabled(setwidth);
|
||||||
tabularWidthUnitLC->setEnabled(setwidth);
|
tabularWidthUnitLC->setEnabled(setwidth);
|
||||||
|
@ -4569,7 +4569,6 @@ bool InsetTabular::getStatus(Cursor & cur, FuncRequest const & cmd,
|
|||||||
|
|
||||||
case Tabular::TOGGLE_ROTATE_TABULAR:
|
case Tabular::TOGGLE_ROTATE_TABULAR:
|
||||||
case Tabular::SET_ROTATE_TABULAR:
|
case Tabular::SET_ROTATE_TABULAR:
|
||||||
status.setEnabled(tabular.tabular_width.zero());
|
|
||||||
status.setOnOff(tabular.rotate);
|
status.setOnOff(tabular.rotate);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user