diff --git a/src/Editor/PropertyEdit/CPropertyView.h b/src/Editor/PropertyEdit/CPropertyView.h index 16b56d0d..14744dd6 100644 --- a/src/Editor/PropertyEdit/CPropertyView.h +++ b/src/Editor/PropertyEdit/CPropertyView.h @@ -12,7 +12,7 @@ class CPropertyView : public QTreeView CPropertyModel* mpModel; CPropertyDelegate* mpDelegate; - CScriptObject* mpObject; + CScriptObject* mpObject = nullptr; IProperty* mpMenuProperty = nullptr; QAction* mpShowNameValidityAction;