mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-24 12:34:39 +03:00
Merge branch 'master' into 1.4
This commit is contained in:
commit
3bf993eb5a
@ -63,7 +63,7 @@ TextItem::TextItem(QObject *owner, QGraphicsItem *parent)
|
||||
|
||||
PageItemDesignIntf* pageItem = dynamic_cast<PageItemDesignIntf*>(parent);
|
||||
BaseDesignIntf* parentItem = dynamic_cast<BaseDesignIntf*>(parent);
|
||||
while (!pageItem){
|
||||
while (!pageItem && parentItem){
|
||||
parentItem = dynamic_cast<BaseDesignIntf*>(parentItem->parentItem());
|
||||
pageItem = dynamic_cast<PageItemDesignIntf*>(parentItem);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user