commit 335ccee3b506df4d10014dc6760b6e2939f996d3
Author: Uwe Stöhr <[email protected]>
Date:   Mon May 11 22:16:36 2015 +0200

    GuiBox.cpp: re-add lost braces
    
    - FORMAT: add date

diff --git a/development/FORMAT b/development/FORMAT
index 058e382..e4dda6e 100644
--- a/development/FORMAT
+++ b/development/FORMAT
@@ -11,7 +11,7 @@ adjustments are made to tex2lyx and bugs are fixed in lyx2lyx.
 
 -----------------------
 
-2015-05-xx Uwe Stöhr <[email protected]>
+2015-05-11 Uwe Stöhr <[email protected]>
        * Format incremented to 489: support to set line thickness, box 
separation
              and shadow size in the box dialog 
          New box parameters:
diff --git a/src/frontends/qt4/GuiBox.cpp b/src/frontends/qt4/GuiBox.cpp
index c5244d0..ac5856d 100644
--- a/src/frontends/qt4/GuiBox.cpp
+++ b/src/frontends/qt4/GuiBox.cpp
@@ -158,10 +158,11 @@ void GuiBox::on_typeCO_activated(int index)
                        heightCB->setChecked(false);
                setSpecial(ibox);
        }
-       if (type != "Boxed")
+       if (type != "Boxed") {
                if (type != "Frameless")
                        widthCB->setChecked(itype != "none");
                pagebreakCB->setChecked(false);
+       }
        changed();
 }
 

Reply via email to