diff options
author | Christiaan Janssen <christiaan.janssen@nokia.com> | 2010-02-11 18:02:12 +0100 |
---|---|---|
committer | Christiaan Janssen <christiaan.janssen@nokia.com> | 2010-02-11 18:02:12 +0100 |
commit | 1fcb09c15703fe45a69c595996ec9c80e71235fb (patch) | |
tree | c9c36931934693a9d8e8d7bfb21fb61f1dc20c9d /src/plugins/qmldesigner/components/stateseditor/stateslist.qml | |
parent | 85d9c555a52eea20a8b6b17a2f5675cecbaa4d00 (diff) |
QmlDesigner.StatesEditor: Fixed crash when creating new state while renaming another state
Diffstat (limited to 'src/plugins/qmldesigner/components/stateseditor/stateslist.qml')
-rw-r--r-- | src/plugins/qmldesigner/components/stateseditor/stateslist.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/components/stateseditor/stateslist.qml b/src/plugins/qmldesigner/components/stateseditor/stateslist.qml index b5e791e146..a558fbc756 100644 --- a/src/plugins/qmldesigner/components/stateseditor/stateslist.qml +++ b/src/plugins/qmldesigner/components/stateseditor/stateslist.qml @@ -422,6 +422,8 @@ Rectangle { MouseRegion { anchors.fill:parent onClicked: { + // force close textinput + root.unFocus(); if (root.currentStateIndex == 0) root.createNewState(); //create new state else |