1
mirror of https://github.com/monero-project/monero-gui synced 2024-12-01 08:11:54 +01:00

History: collapse "Sort & Filter" when user types

This commit is contained in:
rating89us 2021-06-12 20:43:35 +02:00 committed by GitHub
parent 7c379e2cda
commit 3eae630cfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();