mirror of
https://github.com/overte-org/overte.git
synced 2025-08-12 00:52:59 +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: {
|
onAccepted: {
|
||||||
root.searchString = searchField.text;
|
if(root.searchString !== searchField.text) {
|
||||||
getMarketplaceItems();
|
root.searchString = searchField.text;
|
||||||
searchField.forceActiveFocus();
|
getMarketplaceItems();
|
||||||
|
searchField.forceActiveFocus();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
onActiveFocusChanged: {
|
onActiveFocusChanged: {
|
||||||
|
|
Loading…
Reference in a new issue