From: Uwe Stöhr Date: Tue, 12 May 2015 23:16:35 +0000 (+0200) Subject: GuiBox.cpp: make a logic setting more clear X-Git-Tag: 2.2.0alpha1~855 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=858c12c6bb850b7ed7a708e3e66fd58ba6f06cb9;p=features.git GuiBox.cpp: make a logic setting more clear --- diff --git a/src/frontends/qt4/GuiBox.cpp b/src/frontends/qt4/GuiBox.cpp index ac5856ded8..2463dfa8ca 100644 --- a/src/frontends/qt4/GuiBox.cpp +++ b/src/frontends/qt4/GuiBox.cpp @@ -439,8 +439,7 @@ bool GuiBox::checkWidgets(bool readonly) const heightCB->setEnabled(ibox); // the width can only be selected for makebox or framebox widthCB->setEnabled(itype == "makebox" - || (outer == "Boxed" && itype == "none") - && !pagebreakCB->isChecked()); + || (outer == "Boxed" && itype == "none" && !pagebreakCB->isChecked())); // except for Frameless and Boxed, the width cannot be specified if // there is no inner box bool const width_enabled =