]> git.lyx.org Git - features.git/commitdiff
GuiBox.cpp: fix a dialog initialization issue
authorUwe Stöhr <uwestoehr@lyx.org>
Sun, 5 May 2013 23:31:04 +0000 (01:31 +0200)
committerUwe Stöhr <uwestoehr@lyx.org>
Sun, 5 May 2013 23:31:04 +0000 (01:31 +0200)
thanks Jean-Marc for the hint

src/frontends/qt4/GuiBox.cpp

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