mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
GuiTabular.cpp: fix bug #8092
This commit is contained in:
parent
0332e90ed1
commit
e900dc9f73
@ -218,9 +218,6 @@ void GuiTabular::checkEnabled()
|
|||||||
tabularWidthED->setEnabled(setwidth);
|
tabularWidthED->setEnabled(setwidth);
|
||||||
tabularWidthUnitLC->setEnabled(setwidth);
|
tabularWidthUnitLC->setEnabled(setwidth);
|
||||||
|
|
||||||
bool const is_tabular_star = !tabularWidthED->text().isEmpty();
|
|
||||||
rotateTabularCB->setDisabled(is_tabular_star);
|
|
||||||
|
|
||||||
rotateCellAngleSB->setEnabled(rotateCellCB->isChecked());
|
rotateCellAngleSB->setEnabled(rotateCellCB->isChecked());
|
||||||
|
|
||||||
bool const enable_valign =
|
bool const enable_valign =
|
||||||
@ -239,6 +236,7 @@ void GuiTabular::checkEnabled()
|
|||||||
interlinespaceUnitLC->setEnabled(interlinespaceCO->currentIndex() == 2);
|
interlinespaceUnitLC->setEnabled(interlinespaceCO->currentIndex() == 2);
|
||||||
|
|
||||||
// setting as longtable is not allowed when table is inside a float
|
// setting as longtable is not allowed when table is inside a float
|
||||||
|
bool const is_tabular_star = !tabularWidthED->text().isEmpty();
|
||||||
longTabularCB->setEnabled(!is_tabular_star && funcEnabled(Tabular::SET_LONGTABULAR));
|
longTabularCB->setEnabled(!is_tabular_star && funcEnabled(Tabular::SET_LONGTABULAR));
|
||||||
bool const longtabular = longTabularCB->isChecked();
|
bool const longtabular = longTabularCB->isChecked();
|
||||||
longtableGB->setEnabled(true);
|
longtableGB->setEnabled(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user