fix #LINQT-1342 reset magic search bar when call created
This commit is contained in:
parent
9e74b24be6
commit
b1521ebf04
1 changed files with 8 additions and 0 deletions
|
|
@ -163,6 +163,14 @@ Item {
|
||||||
mainItem.openNumPadRequest()
|
mainItem.openNumPadRequest()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Connections {
|
||||||
|
target: mainItem
|
||||||
|
function onCallCreated() {
|
||||||
|
magicSearchBar.focus = false
|
||||||
|
magicSearchBar.clearText()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
onTextChanged: {
|
onTextChanged: {
|
||||||
if (text.length != 0) listPopup.open()
|
if (text.length != 0) listPopup.open()
|
||||||
else listPopup.close()
|
else listPopup.close()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue