]> git.lyx.org Git - lyx.git/commitdiff
GuiBox.cpp: fix button logic (fixes bug #9543)
authorUwe Stöhr <uwestoehr@lyx.org>
Sun, 10 May 2015 13:54:03 +0000 (15:54 +0200)
committerUwe Stöhr <uwestoehr@lyx.org>
Sun, 10 May 2015 13:54:03 +0000 (15:54 +0200)
src/frontends/qt4/GuiBox.cpp

index 66912e851d580d4299a18d4877be05e7d3ff2842..60a26cd4a76cbb6a01b2cb6a80ae50f0eaa7571b 100644 (file)
@@ -142,8 +142,9 @@ void GuiBox::on_typeCO_activated(int index)
                        heightCB->setChecked(false);
                setSpecial(ibox);
        }
-       widthCB->setChecked(itype != "none");
        if (type != "Boxed")
+               if (type != "Frameless")
+                       widthCB->setChecked(itype != "none");
                pagebreakCB->setChecked(false);
        changed();
 }