GuiBox.cpp: fix button logic (fixes bug #9543)

This commit is contained in:
Uwe Stöhr 2015-05-10 15:54:03 +02:00
parent 49fa913739
commit 4be4d4e1a6

View 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();
}