diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorvalue.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorvalue.cpp index 268cd78e7222dd95394dc0e92a864cac648cb715..881ddf4663e089705a72063893918fa1e895e837 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorvalue.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorvalue.cpp @@ -94,9 +94,9 @@ void PropertyEditorValue::setValueWithEmit(const QVariant &value) void PropertyEditorValue::setValue(const QVariant &value) { if ( m_value != value) { - m_value = value; - emit valueChanged(QString(), value); + m_value = value; } + emit valueChanged(QString(), value); emit isBoundChanged(); } @@ -135,6 +135,8 @@ bool PropertyEditorValue::isBound() const bool PropertyEditorValue::isInModel() const { + qDebug() << name(); + qDebug() << (modelNode().isValid() && modelNode().hasProperty(name())); return modelNode().isValid() && modelNode().hasProperty(name()); }