FIX: Crash U
parent
d0cbdd65ec
commit
fedb147dd3
|
@ -168,7 +168,7 @@ QTreeWidgetItem* LayerWrapper::getQTreeItem()
|
|||
{
|
||||
this->qTreeWidgetItem.setText(0, this->property.name);
|
||||
this->qTreeWidgetItem.setData(0, Qt::UserRole, QVariant::fromValue(this));
|
||||
return &this->qTreeWidgetItem;
|
||||
return new QTreeWidgetItem(this->qTreeWidgetItem);
|
||||
}
|
||||
|
||||
QTreeWidgetItem* FolderLayerWrapper::getQTreeItem()
|
||||
|
|
Loading…
Reference in New Issue