mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
Case 21467 - only update search when search field content has changed
This commit is contained in:
parent
0e46007d84
commit
c9cb284c19
1 changed files with 5 additions and 3 deletions
|
@ -359,9 +359,11 @@ Rectangle {
|
|||
}
|
||||
|
||||
onAccepted: {
|
||||
root.searchString = searchField.text;
|
||||
getMarketplaceItems();
|
||||
searchField.forceActiveFocus();
|
||||
if(root.searchString !== searchField.text) {
|
||||
root.searchString = searchField.text;
|
||||
getMarketplaceItems();
|
||||
searchField.forceActiveFocus();
|
||||
}
|
||||
}
|
||||
|
||||
onActiveFocusChanged: {
|
||||
|
|
Loading…
Reference in a new issue