mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-25 15:58:16 +00:00
feat(ui/modules/Common/Form/SearchBox): reset search field text at close event
This commit is contained in:
parent
33b9ad9569
commit
356634e9b2
1 changed files with 2 additions and 2 deletions
|
|
@ -3,8 +3,6 @@ import QtQuick 2.7
|
|||
import Common 1.0
|
||||
import Utils 1.0
|
||||
|
||||
// =============================================================================
|
||||
// Specific GNU/Linux version of `SearchBox` component.
|
||||
// =============================================================================
|
||||
|
||||
Item {
|
||||
|
|
@ -141,7 +139,9 @@ Item {
|
|||
ScriptAction {
|
||||
script: {
|
||||
menu.close()
|
||||
|
||||
searchField.focus = false
|
||||
searchField.text = ''
|
||||
|
||||
searchBox.menuClosed()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue