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.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/ui-components/searchbox/SearchBox.qml b/examples/declarative/ui-components/searchbox/SearchBox.qml
index c022626dfd..eaa6b6bb80 100644
--- a/examples/declarative/ui-components/searchbox/SearchBox.qml
+++ b/examples/declarative/ui-components/searchbox/SearchBox.qml
@@ -66,7 +66,7 @@ FocusScope {
font.italic: true
}
- MouseArea { anchors.fill: parent; onClicked: focusScope.focus = true }
+ MouseArea { anchors.fill: parent; onClicked: { focusScope.focus = true; textInput.openSoftwareInputPanel(); } }
TextInput {
id: textInput
@@ -82,7 +82,7 @@ FocusScope {
MouseArea {
anchors.fill: parent
- onClicked: { textInput.text = ''; focusScope.focus = true }
+ onClicked: { textInput.text = ''; focusScope.focus = true; textInput.openSoftwareInputPanel(); }
}
}