Fixed layout ownership transfer.
Fixes bug #480 Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
This commit is contained in:
parent
abf841fbd3
commit
e635023cdb
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ inline void addLayoutOwnership(QLayout* layout, QLayout* other)
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i=0, i_max=other->count(); i < i_max; i++) {
|
for (int i=0, i_max=other->count(); i < i_max; i++) {
|
||||||
QLayoutItem* item = layout->itemAt(i);
|
QLayoutItem* item = other->itemAt(i);
|
||||||
if (PyErr_Occurred())
|
if (PyErr_Occurred())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue