Commit 87212f06 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor emit in all cases to fix color coding

parent 3241f580
......@@ -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());
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment