Case 21467 - only update search when search field content has changed

This commit is contained in:
Roxanne Skelly 2019-03-11 14:33:00 -07:00
parent 0e46007d84
commit c9cb284c19

View file

@ -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: {