mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
GuiTabular: LC and ED should both be disabled
Previously, only columnWidthED was disabled.
This commit is contained in:
parent
3ef4db2ce4
commit
429b39bc0c
@ -204,6 +204,7 @@ void GuiTabular::checkEnabled()
|
|||||||
// if there is a LaTeX argument, the width and alignment will be overwritten
|
// if there is a LaTeX argument, the width and alignment will be overwritten
|
||||||
// therefore disable them in this case
|
// therefore disable them in this case
|
||||||
columnWidthED->setEnabled(specialAlignmentED->text().isEmpty());
|
columnWidthED->setEnabled(specialAlignmentED->text().isEmpty());
|
||||||
|
columnWidthUnitLC->setEnabled(specialAlignmentED->text().isEmpty());
|
||||||
// if the column has a width, multirows are always left-aligned
|
// if the column has a width, multirows are always left-aligned
|
||||||
// therefore disable hAlignCB in this case
|
// therefore disable hAlignCB in this case
|
||||||
hAlignCO->setEnabled(!(multirowCB->isChecked()
|
hAlignCO->setEnabled(!(multirowCB->isChecked()
|
||||||
|
Loading…
Reference in New Issue
Block a user