diff --git a/share/qtcreator/qmldesigner/connectionseditor/Pill.qml b/share/qtcreator/qmldesigner/connectionseditor/Pill.qml index 3e1a9bdcc3e..c067fb5b162 100644 --- a/share/qtcreator/qmldesigner/connectionseditor/Pill.qml +++ b/share/qtcreator/qmldesigner/connectionseditor/Pill.qml @@ -141,7 +141,7 @@ FocusScope { root.submit(textInput.cursorPosition) // emit } - Keys.onPressed: function (event) { + Keys.onReleased: function (event) { if (event.key === Qt.Key_Backspace) { if (textInput.text !== "") return