GuiTabular: LC and ED should both be disabled

Previously, only columnWidthED was disabled.
This commit is contained in:
Scott Kostyshak 2013-03-19 03:16:07 -04:00
parent 3ef4db2ce4
commit 429b39bc0c

View File

@ -204,6 +204,7 @@ void GuiTabular::checkEnabled()
// if there is a LaTeX argument, the width and alignment will be overwritten
// therefore disable them in this case
columnWidthED->setEnabled(specialAlignmentED->text().isEmpty());
columnWidthUnitLC->setEnabled(specialAlignmentED->text().isEmpty());
// if the column has a width, multirows are always left-aligned
// therefore disable hAlignCB in this case
hAlignCO->setEnabled(!(multirowCB->isChecked()