diff options
Diffstat (limited to 'src/plugins/qmldesigner/components/propertyeditor')
-rw-r--r-- | src/plugins/qmldesigner/components/propertyeditor/propertyeditorcontextobject.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorcontextobject.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorcontextobject.cpp index 195a24afb3..854abf7f9d 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorcontextobject.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorcontextobject.cpp @@ -119,11 +119,12 @@ void PropertyEditorContextObject::setSpecificQmlData(const QString &newSpecificQ return; m_specificQmlData = newSpecificQmlData; - emit specificQmlDataChanged(); delete m_qmlComponent; m_qmlComponent = 0; + emit specificQmlComponentChanged(); + emit specificQmlDataChanged(); } void PropertyEditorContextObject::setStateName(const QString &newStateName) |