]> git.lyx.org Git - features.git/commitdiff
GuiTabular: LC and ED should both be disabled
authorScott Kostyshak <skostysh@lyx.org>
Tue, 19 Mar 2013 07:16:07 +0000 (03:16 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Tue, 19 Mar 2013 16:25:38 +0000 (12:25 -0400)
Previously, only columnWidthED was disabled.

src/frontends/qt4/GuiTabular.cpp

index 6f4dc06cec8418bba3abe150f77da9f96ff9485d..3e2fafccf58b60d9e17b49b1b6fa49c188b9e8cc 100644 (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()