GuiBox.cpp: fix a dialog initialization issue

thanks Jean-Marc for the hint
This commit is contained in:
Uwe Stöhr 2013-05-06 01:31:04 +02:00
parent bd9e8fecd3
commit 72b2c54fae

View File

@ -205,6 +205,8 @@ void GuiBox::initDialog()
{ {
setInnerType(true, toqstr("minipage")); setInnerType(true, toqstr("minipage"));
widthED->setText("100"); widthED->setText("100");
widthCB->setChecked(true);
widthCB->setEnabled(false);
widthUnitsLC->setCurrentItem(Length::PCW); widthUnitsLC->setCurrentItem(Length::PCW);
heightED->setText("1"); heightED->setText("1");
heightUnitsLC->setCurrentItem("totalheight"); heightUnitsLC->setCurrentItem("totalheight");