git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20460 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2007-09-24 11:44:19 +00:00
parent a7058ad9c7
commit 63d05dbff4

View File

@ -353,7 +353,10 @@ void GuiBoxDialog::setInnerType(bool frameless, int i)
innerBoxCO->clear();
innerBoxCO->addItem(qt_("Parbox"));
innerBoxCO->addItem(qt_("Minipage"));
innerBoxCO->setCurrentIndex(i - 1);
if (i != 0)
innerBoxCO->setCurrentIndex(i - 1);
else
innerBoxCO->setCurrentIndex(i);
} else {
if (innerBoxCO->count() == 2)
++i;