mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
GuiBox.cpp: fix bug 4233 http://bugzilla.lyx.org/show_bug.cgi?id=4233
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20460 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a7058ad9c7
commit
63d05dbff4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user