Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
53db20f4
Commit
53db20f4
authored
Jan 07, 2010
by
Thomas Hartmann
Browse files
Qml Designer: states editor - circumvent a crash
parent
418fda61
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/stateseditor/stateslist.qml
View file @
53db20f4
...
...
@@ -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
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment