]> git.lyx.org Git - features.git/commitdiff
GuiBox.cpp: add missing braces from previous commit
authorUwe Stöhr <uwestoehr@lyx.org>
Sun, 10 May 2015 19:42:45 +0000 (21:42 +0200)
committerUwe Stöhr <uwestoehr@lyx.org>
Sun, 10 May 2015 19:42:45 +0000 (21:42 +0200)
src/frontends/qt4/GuiBox.cpp

index 60a26cd4a76cbb6a01b2cb6a80ae50f0eaa7571b..86cdf8ee71e434bc45b980e9ee121df4f0458ceb 100644 (file)
@@ -142,10 +142,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();
 }