QmlDesigner.propertyEditor emit in all cases to fix color coding

This commit is contained in:
Thomas Hartmann
2010-04-07 14:29:35 +02:00
parent 3241f5804e
commit 87212f06bb

View File

@@ -95,8 +95,8 @@ void PropertyEditorValue::setValue(const QVariant &value)
{
if ( m_value != value) {
m_value = value;
emit valueChanged(QString(), 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());
}