From 858c12c6bb850b7ed7a708e3e66fd58ba6f06cb9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Wed, 13 May 2015 01:16:35 +0200 Subject: [PATCH] GuiBox.cpp: make a logic setting more clear --- src/frontends/qt4/GuiBox.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 = -- 2.39.2