fix(desktop/general): Do not show loading icon for empty search text
Fix # 5197
This commit is contained in:
parent
30a6929b0d
commit
a0d5e9bca6
|
@ -62,8 +62,10 @@ Item {
|
|||
}
|
||||
|
||||
onSearchTextChanged: {
|
||||
searchPopup.loading = true
|
||||
searchMessages(searchPopup.searchText);
|
||||
if (searchPopup.searchText !== "") {
|
||||
searchPopup.loading = true
|
||||
searchMessages(searchPopup.searchText);
|
||||
}
|
||||
}
|
||||
onAboutToHide: {
|
||||
if (searchPopupMenu.visible) {
|
||||
|
|
Loading…
Reference in New Issue