mirror of
https://github.com/fralx/LimeReport.git
synced 2025-01-11 17:18:10 +03:00
Layout deletion has been fixed
This commit is contained in:
parent
2efe2afa72
commit
40726db745
@ -158,6 +158,7 @@ void AbstractLayout::beforeDelete()
|
|||||||
#endif
|
#endif
|
||||||
BaseDesignIntf *bi = dynamic_cast<BaseDesignIntf*>(item);
|
BaseDesignIntf *bi = dynamic_cast<BaseDesignIntf*>(item);
|
||||||
if (bi) {
|
if (bi) {
|
||||||
|
bi->disconnect(this);
|
||||||
bi->setParentItem(parentItem());
|
bi->setParentItem(parentItem());
|
||||||
bi->setParent(parent());
|
bi->setParent(parent());
|
||||||
bi->setVisible(true);
|
bi->setVisible(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user