Commit 53db20f4 authored by Thomas Hartmann's avatar Thomas Hartmann

Qml Designer: states editor - circumvent a crash

parent 418fda61
......@@ -27,7 +27,8 @@ Rectangle {
signal: "changedToState(n)"
script: {root.currentStateIndex = n}
}
Item { id:focusStealer }
Flickable {
id: listView
......@@ -93,7 +94,7 @@ Rectangle {
anchors.fill: container
onClicked: {
root.currentStateIndex = index
focus=true; // steal focus from textinput
ocusStealer.focus=true; // steal focus from textinput
}
}
......
Markdown is supported
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