mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-05 17:09:56 +00:00
QBox.cpp: fix bug 4233 http://bugzilla.lyx.org/show_bug.cgi?id=4233
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20461 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
321e384a70
commit
c79cc07cbc
@ -376,7 +376,10 @@ void QBox::setInnerType(bool frameless, int i)
|
|||||||
dialog_->innerBoxCO->clear();
|
dialog_->innerBoxCO->clear();
|
||||||
dialog_->innerBoxCO->addItem(qt_("Parbox"));
|
dialog_->innerBoxCO->addItem(qt_("Parbox"));
|
||||||
dialog_->innerBoxCO->addItem(qt_("Minipage"));
|
dialog_->innerBoxCO->addItem(qt_("Minipage"));
|
||||||
|
if (i != 0)
|
||||||
dialog_->innerBoxCO->setCurrentIndex(i - 1);
|
dialog_->innerBoxCO->setCurrentIndex(i - 1);
|
||||||
|
else
|
||||||
|
dialog_->innerBoxCO->setCurrentIndex(i);
|
||||||
} else {
|
} else {
|
||||||
if (dialog_->innerBoxCO->count() == 2)
|
if (dialog_->innerBoxCO->count() == 2)
|
||||||
i += 1;
|
i += 1;
|
||||||
|
@ -159,6 +159,9 @@ What's new
|
|||||||
typing a space after switching between 2 documents with the file->Open
|
typing a space after switching between 2 documents with the file->Open
|
||||||
dialog (bug 4211).
|
dialog (bug 4211).
|
||||||
|
|
||||||
|
- Fix bug in box dialog where the inner box was empty when switching
|
||||||
|
the box decoration (bug 4233).
|
||||||
|
|
||||||
|
|
||||||
* DOCUMENTATION
|
* DOCUMENTATION
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user