Merge pull request #3559

3eae630 History: collapse 'Sort & Filter' when user types (rating89us)
This commit is contained in:
luigi1111 2021-07-06 11:43:48 -04:00
commit 2d82439b56
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -160,6 +160,9 @@ Rectangle {
placeholderFontSize: 15
inputHeight: 34
onTextUpdated: {
if (!sortAndFilter.collapsed) {
sortAndFilter.collapsed = true;
}
if(searchInput.text != null && searchInput.text.length >= 3){
root.sortSearchString = searchInput.text;
root.reset();