diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2011-02-18 01:33:17 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2011-02-18 01:35:11 (GMT) |
commit | b1d036fd9fc45060bf2886114051eef8db735311 (patch) | |
tree | 48f02d115aae1bfddad898d0fa80226d700b2bd6 /examples/declarative/keyinteraction | |
parent | fcd12e1826f2974ec9cf10af4e6893774d666362 (diff) | |
download | Qt-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.qml | 2 |
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 } } |