mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 18:50:00 +02:00
Merge pull request #15191 from roxanneskelly/Case21467
Case 21728 - tab in marketplace search bar causes an update of search results
This commit is contained in:
commit
e256c34823
1 changed files with 5 additions and 3 deletions
|
@ -348,9 +348,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