aboutsummaryrefslogtreecommitdiffstats
path: root/DemoApplication/controls
diff options
context:
space:
mode:
authorAntti Hölttä <AHoelttae@luxoft.com>2018-12-03 13:44:15 +0100
committerAntti Hölttä <AHoelttae@luxoft.com>2019-03-18 16:33:53 +0100
commita9445c3b9c8f51a229b62c25df1aeebe5c85c88d (patch)
treed431757016a1892135859fae565dfed759ccdeff /DemoApplication/controls
parent2d45defe15ca9a94f6eba992af3d544fcd5dfb32 (diff)
Cursor now movable only to items that set the acceptsCursor value to true
Diffstat (limited to 'DemoApplication/controls')
-rw-r--r--DemoApplication/controls/CNButton.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/DemoApplication/controls/CNButton.qml b/DemoApplication/controls/CNButton.qml
index 33299d1..19dcb8e 100644
--- a/DemoApplication/controls/CNButton.qml
+++ b/DemoApplication/controls/CNButton.qml
@@ -8,7 +8,7 @@ Button {
implicitHeight: 40
CursorNavigation.acceptsCursor: true
- property bool hasCursor: CursorNavigation.hasCursor
+ //property bool hasCursor: CursorNavigation.hasCursor
background: Rectangle {
anchors.fill: parent
@@ -31,7 +31,7 @@ Button {
border.width: 2
border.color: "red"
anchors.fill: parent
- visible: root.hasCursor
+ visible: root.CursorNavigation.hasCursor
color: "transparent"
}
}