From: Uwe Stöhr Date: Wed, 21 Mar 2012 20:50:34 +0000 (+0100) Subject: GuiTabular.cpp: fix bug #8092 also for branch X-Git-Tag: 2.0.4~165 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=6f5ea2ae47ba5408236d4b9b7e98aa0765e6585d;p=features.git GuiTabular.cpp: fix bug #8092 also for branch --- diff --git a/src/frontends/qt4/GuiTabular.cpp b/src/frontends/qt4/GuiTabular.cpp index be775c4148..593be70e90 100644 --- a/src/frontends/qt4/GuiTabular.cpp +++ b/src/frontends/qt4/GuiTabular.cpp @@ -215,9 +215,6 @@ void GuiTabular::checkEnabled() tabularWidthED->setEnabled(setwidth); tabularWidthUnitLC->setEnabled(setwidth); - bool const is_tabular_star = !tabularWidthED->text().isEmpty(); - rotateTabularCB->setDisabled(is_tabular_star); - vAlignCO->setEnabled(!multirowCB->isChecked() && !widgetsToLength(columnWidthED, columnWidthUnitLC).empty() && specialAlignmentED->text().isEmpty()); @@ -231,6 +228,7 @@ void GuiTabular::checkEnabled() interlinespaceUnitLC->setEnabled(interlinespaceCO->currentIndex() == 2); // 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)); bool const longtabular = longTabularCB->isChecked(); longtableGB->setEnabled(true); @@ -429,7 +427,7 @@ docstring GuiTabular::dialogToParams() const // apply the column alignment // multirows inherit the alignment from the column; if a column width - // is set, multicolumns are always left-aligned so that in this case + // is set, multirows are always left-aligned so that in this case // its alignment must not be applied (see bug #8084) if (!(multirowCB->isChecked() && width != "0pt")) setHAlign(param_str); diff --git a/status.20x b/status.20x index b91d5a7bd7..6dca76a2f9 100644 --- a/status.20x +++ b/status.20x @@ -101,6 +101,8 @@ What's new - Fix the selection of rows below a multirow (bug 8083). +- Allow rotations of tables with a defined width (bug 8092). + * DOCUMENTATION AND LOCALIZATION