return the correct mainItem()
This commit is contained in:
parent
ccdb4cebdf
commit
90ecc73536
@ -44,7 +44,7 @@ DialogProxy::~DialogProxy()
|
||||
|
||||
QGraphicsObject *DialogProxy::mainItem() const
|
||||
{
|
||||
return m_dialog->graphicsWidget();
|
||||
return m_mainItem.data();
|
||||
}
|
||||
|
||||
void DialogProxy::setMainItem(QGraphicsObject *mainItem)
|
||||
|
Loading…
x
Reference in New Issue
Block a user