summaryrefslogtreecommitdiffstats
path: root/examples/declarative/ui-components/searchbox/SearchBox.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/ui-components/searchbox/SearchBox.qml')
-rw-r--r--examples/declarative/ui-components/searchbox/SearchBox.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/ui-components/searchbox/SearchBox.qml b/examples/declarative/ui-components/searchbox/SearchBox.qml
index 60fa799..d000750 100644
--- a/examples/declarative/ui-components/searchbox/SearchBox.qml
+++ b/examples/declarative/ui-components/searchbox/SearchBox.qml
@@ -54,7 +54,7 @@ FocusScope {
source: "images/lineedit-bg-focus.png"
width: parent.width; height: parent.height
border { left: 4; top: 4; right: 4; bottom: 4 }
- visible: parent.wantsFocus ? true : false
+ visible: parent.activeFocus ? true : false
}
Text {