Property filter has been added

This commit is contained in:
Arin Alexander
2019-02-14 00:21:57 +03:00
parent 47ae56ab26
commit 7a512eca0b
5 changed files with 40 additions and 6 deletions

View File

@@ -134,7 +134,7 @@ void ObjectInspectorWidget::reset()
ObjectPropItem * ObjectInspectorWidget::nodeFromIndex(QModelIndex index) const
{
return static_cast<LimeReport::ObjectPropItem*>(index.internalPointer());
return qvariant_cast<LimeReport::ObjectPropItem*>(index.data(Qt::UserRole));
}
void ObjectInspectorWidget::keyPressEvent(QKeyEvent *event)