summaryrefslogtreecommitdiffstats
path: root/framework/qml/TextField.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-21 05:33:57 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-21 05:33:57 +0200
commit2cf015b0dce138c21c33c29f58d5154d547539d8 (patch)
treee2577105dde68371f2edd09bd50ef96f16dcf27a /framework/qml/TextField.qml
parent0fd0d8ce5f91c037e12e4d61f05d66437eb4088b (diff)
downloadkube-2cf015b0dce138c21c33c29f58d5154d547539d8.tar.gz
kube-2cf015b0dce138c21c33c29f58d5154d547539d8.zip
Use activeFocus for detecting focus
Diffstat (limited to 'framework/qml/TextField.qml')
-rw-r--r--framework/qml/TextField.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/qml/TextField.qml b/framework/qml/TextField.qml
index 8315f955..384d6472 100644
--- a/framework/qml/TextField.qml
+++ b/framework/qml/TextField.qml
@@ -49,6 +49,6 @@ T.TextField {
49 background: Rectangle { 49 background: Rectangle {
50 color: Kube.Colors.viewBackgroundColor 50 color: Kube.Colors.viewBackgroundColor
51 border.width: 1 51 border.width: 1
52 border.color: root.focus ? Kube.Colors.highlightColor : Kube.Colors.buttonColor 52 border.color: root.activeFocus ? Kube.Colors.highlightColor : Kube.Colors.buttonColor
53 } 53 }
54} 54}