Clear the emoji picker search when the dialog is closed
Clear the emoji picker search when the dialog is closed BUG: 472873
This commit is contained in:
@@ -31,6 +31,7 @@ QQC2.Popup {
|
||||
|
||||
onVisibleChanged: {
|
||||
if (!visible) {
|
||||
emojiPicker.clearSearchField()
|
||||
return
|
||||
}
|
||||
emojiPicker.forceActiveFocus()
|
||||
|
||||
@@ -206,4 +206,8 @@ ColumnLayout {
|
||||
onClicked: stickerModel.packIndex = model.index
|
||||
}
|
||||
}
|
||||
|
||||
function clearSearchField() {
|
||||
searchField.text = ""
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user