commit 858c12c6bb850b7ed7a708e3e66fd58ba6f06cb9
Author: Uwe Stöhr <[email protected]>
Date:   Wed May 13 01:16:35 2015 +0200

    GuiBox.cpp: make a logic setting more clear

diff --git a/src/frontends/qt4/GuiBox.cpp b/src/frontends/qt4/GuiBox.cpp
index ac5856d..2463dfa 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 =

Reply via email to