summaryrefslogtreecommitdiff
path: root/components/SpinBox.qml
diff options
context:
space:
mode:
authorJens Bache-Wiig <jens.bache-wiig@nokia.com>2011-05-23 15:46:28 +0200
committerJens Bache-Wiig <jens.bache-wiig@nokia.com>2011-05-23 15:46:28 +0200
commit45cc2dd7f17120038653c8b9d3f49f282fc310db (patch)
tree3721b774f1046f1e55760832c073a9f0e97c846b /components/SpinBox.qml
parentaae135839e0e312f83b784f816d76f120e15ff48 (diff)
downloadqtquickcontrols-45cc2dd7f17120038653c8b9d3f49f282fc310db.tar.gz
Fix to disable spinbox on bounds
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 ef7e6bb5..919ac95e 100644
--- a/components/SpinBox.qml
+++ b/components/SpinBox.qml
@@ -68,7 +68,7 @@ Components.SpinBox {
id: styleitem
anchors.fill: parent
elementType: "spinbox"
- sunken: downPressed | upPressed
+ sunken: (downEnabled && downPressed) | (upEnabled && upPressed)
hover: containsMouse
focus: spinbox.focus
enabled: spinbox.enabled