summaryrefslogtreecommitdiff
path: root/components/SpinBox.qml
diff options
context:
space:
mode:
authorJens Bache-Wiig <jens.bache-wiig@nokia.com>2011-03-01 18:33:15 +0100
committerJens Bache-Wiig <jens.bache-wiig@nokia.com>2011-03-01 18:33:15 +0100
commitf96b7aaec39af181e013da8241edb8a8decc7163 (patch)
treef82d9480374c733d8359d510585478552eca63e9 /components/SpinBox.qml
parent3695e5df1e44224b0cef8b49d199e278e44476f2 (diff)
downloadqtquickcontrols-f96b7aaec39af181e013da8241edb8a8decc7163.tar.gz
Added improved support for key navigation
Diffstat (limited to 'components/SpinBox.qml')
-rw-r--r--components/SpinBox.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/SpinBox.qml b/components/SpinBox.qml
index e7816452..f3e101fe 100644
--- a/components/SpinBox.qml
+++ b/components/SpinBox.qml
@@ -69,7 +69,7 @@ Components.SpinBox {
elementType: "spinbox"
sunken: downPressed | upPressed
hover: containsMouse
- focus: spinbox.activeFocus
+ focus: spinbox.focus || spinbox.activeFocus
enabled: spinbox.enabled
value: (upPressed? 1 : 0) |
(downPressed== 1 ? 1<<1 : 0) |