forked from qt-creator/qt-creator
QmlDesigner.propertyEditor emit in all cases to fix color coding
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user