From f8e71efc5a7f619eea9e5aad6701b04dd08ac99e Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Wed, 26 Feb 2025 10:43:07 +0100 Subject: [PATCH] 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 --- .../components/propertyeditor/propertyeditorvalue.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorvalue.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorvalue.cpp index b4e7f9a6eac..01b18a08709 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorvalue.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorvalue.cpp @@ -160,6 +160,7 @@ void PropertyEditorValue::setExpressionWithEmit(const QString &expression) emit expressionChanged(nameAsQString()); emit expressionChangedQml();// Note that we set the name in this case } + emit isBoundChanged(); } void PropertyEditorValue::setExpression(const QString &expression)