QmlDesigner: Add emit for isBoundChanged if expression is set

The value in some cases is not changing and therefore the icon
based on isBound was not updated.

Change-Id: I6b0ed8df6e0f5854660e54b4753a4c15107cda66
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
This commit is contained in:
Thomas Hartmann
2025-02-26 10:43:07 +01:00
committed by Thomas Hartmann
parent 0d92d5277f
commit f8e71efc5a

View File

@@ -160,6 +160,7 @@ void PropertyEditorValue::setExpressionWithEmit(const QString &expression)
emit expressionChanged(nameAsQString()); emit expressionChanged(nameAsQString());
emit expressionChangedQml();// Note that we set the name in this case emit expressionChangedQml();// Note that we set the name in this case
} }
emit isBoundChanged();
} }
void PropertyEditorValue::setExpression(const QString &expression) void PropertyEditorValue::setExpression(const QString &expression)