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:
Shannon Romano 2019-03-20 14:22:10 -07:00 committed by GitHub
commit e256c34823
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -348,9 +348,11 @@ Rectangle {
}
onAccepted: {
root.searchString = searchField.text;
getMarketplaceItems();
searchField.forceActiveFocus();
if (root.searchString !== searchField.text) {
root.searchString = searchField.text;
getMarketplaceItems();
searchField.forceActiveFocus();
}
}
onActiveFocusChanged: {