diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/ExpressionEditor.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/ExpressionEditor.qml index 2c79092d7d1..483efc6ce51 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/ExpressionEditor.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/ExpressionEditor.qml @@ -9,7 +9,12 @@ QWidget { height: 40 property bool active: false property variant backendValue; - + + property bool selectionFlag: selectionChanged + + onSelectionFlagChanged: { + expressionEdit.active = false; + } onActiveChanged: { if (active) {