Commit 1fcb09c1 authored by Christiaan Janssen's avatar Christiaan Janssen
Browse files

QmlDesigner.StatesEditor: Fixed crash when creating new state while renaming another state

parent 85d9c555
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment