diff options
author | Jens Bache-Wiig <jens.bache-wiig@nokia.com> | 2011-05-23 15:46:28 +0200 |
---|---|---|
committer | Jens Bache-Wiig <jens.bache-wiig@nokia.com> | 2011-05-23 15:46:28 +0200 |
commit | 45cc2dd7f17120038653c8b9d3f49f282fc310db (patch) | |
tree | 3721b774f1046f1e55760832c073a9f0e97c846b /components/SpinBox.qml | |
parent | aae135839e0e312f83b784f816d76f120e15ff48 (diff) | |
download | qtquickcontrols-45cc2dd7f17120038653c8b9d3f49f282fc310db.tar.gz |
Fix to disable spinbox on bounds
Diffstat (limited to 'components/SpinBox.qml')
-rw-r--r-- | components/SpinBox.qml | 2 |
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 |