0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-24 00:33:02 +03:00

Layout deletion has been fixed

This commit is contained in:
Arin Alexander 2019-10-16 22:55:35 +03:00
parent 2efe2afa72
commit 40726db745

View File

@ -158,6 +158,7 @@ void AbstractLayout::beforeDelete()
#endif
BaseDesignIntf *bi = dynamic_cast<BaseDesignIntf*>(item);
if (bi) {
bi->disconnect(this);
bi->setParentItem(parentItem());
bi->setParent(parent());
bi->setVisible(true);