fix #LINQT-1342 reset magic search bar when call created

This commit is contained in:
gaelle 2024-10-21 15:10:51 +02:00
parent 9e74b24be6
commit b1521ebf04

View file

@ -163,6 +163,14 @@ Item {
mainItem.openNumPadRequest()
}
}
Connections {
target: mainItem
function onCallCreated() {
magicSearchBar.focus = false
magicSearchBar.clearText()
}
}
onTextChanged: {
if (text.length != 0) listPopup.open()
else listPopup.close()