summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoni Poikelin <joni.poikelin@theqtcompany.com>2015-07-01 13:09:17 +0300
committerLiang Qi <liang.qi@theqtcompany.com>2015-07-01 12:25:36 +0000
commit56dfb59237f902cebd480d92912ad572f000e2ba (patch)
tree039444dd6fb96ab8e47a99ffd871a7c28bcb965f /src
parent53c20bf96803d3e554628c223f8ba0d368a89373 (diff)
downloadqtquickcontrols-56dfb59237f902cebd480d92912ad572f000e2ba.tar.gz
Fix cursor handles remaining visible after losing focus
Task-number: QTBUG-46960 Change-Id: I9198cdac67fdc42ad4ff24d07bdf09357d967140 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r--src/controls/Styles/Android/CursorHandleStyle.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Styles/Android/CursorHandleStyle.qml b/src/controls/Styles/Android/CursorHandleStyle.qml
index 4f6d076e..1534f4a9 100644
--- a/src/controls/Styles/Android/CursorHandleStyle.qml
+++ b/src/controls/Styles/Android/CursorHandleStyle.qml
@@ -55,7 +55,7 @@ DrawableLoader {
window_focused: focused && control.Window.active
opacity: hasText && (styleData.hasSelection || styleData.pressed || idle.running) ? 1.0 : 0.0
- visible: opacity > 0.0
+ visible: opacity > 0.0 && focused
Timer {
id: idle