diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp index 2d919fd94dfce433affee81fd3a984aea0d45880..c1e5df5a581baebfdc4efcece73440e419640ffb 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp @@ -398,6 +398,7 @@ void PropertyEditor::changeValue(const QString &propertyName) castedValue = QVariant(newColor); } + qDebug() << value->value(); try { if (!value->value().isValid()) { //reset fxObjectNode.removeVariantProperty(propertyName); @@ -787,6 +788,7 @@ void PropertyEditor::modelAttached(Model *model) void PropertyEditor::modelAboutToBeDetached(Model *model) { QmlModelView::modelAboutToBeDetached(model); + m_currentType->m_propertyEditorTransaction->end(); resetView(); }