summaryrefslogtreecommitdiffstats
path: root/examples/declarative/keyinteraction
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2011-02-18 01:33:17 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2011-02-18 01:35:11 (GMT)
commitb1d036fd9fc45060bf2886114051eef8db735311 (patch)
tree48f02d115aae1bfddad898d0fa80226d700b2bd6 /examples/declarative/keyinteraction
parentfcd12e1826f2974ec9cf10af4e6893774d666362 (diff)
downloadQt-b1d036fd9fc45060bf2886114051eef8db735311.zip
Qt-b1d036fd9fc45060bf2886114051eef8db735311.tar.gz
Qt-b1d036fd9fc45060bf2886114051eef8db735311.tar.bz2
Fix FocusScope example.
Task-number: QTBUG-17501 Reviewed-by: Martin Jones
Diffstat (limited to 'examples/declarative/keyinteraction')
-rw-r--r--examples/declarative/keyinteraction/focus/focus.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/keyinteraction/focus/focus.qml b/examples/declarative/keyinteraction/focus/focus.qml
index 9cb1fef..935db25 100644
--- a/examples/declarative/keyinteraction/focus/focus.qml
+++ b/examples/declarative/keyinteraction/focus/focus.qml
@@ -91,7 +91,7 @@ Rectangle {
MouseArea {
anchors.fill: parent; anchors.margins: -10
- onClicked: window.state = "contextMenuOpen"
+ onClicked: contextMenu.focus = true
}
}