mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-09 20:40:27 +00:00
Merge pull request #3559
3eae630
History: collapse 'Sort & Filter' when user types (rating89us)
This commit is contained in:
commit
2d82439b56
1 changed files with 3 additions and 0 deletions
|
@ -160,6 +160,9 @@ Rectangle {
|
||||||
placeholderFontSize: 15
|
placeholderFontSize: 15
|
||||||
inputHeight: 34
|
inputHeight: 34
|
||||||
onTextUpdated: {
|
onTextUpdated: {
|
||||||
|
if (!sortAndFilter.collapsed) {
|
||||||
|
sortAndFilter.collapsed = true;
|
||||||
|
}
|
||||||
if(searchInput.text != null && searchInput.text.length >= 3){
|
if(searchInput.text != null && searchInput.text.length >= 3){
|
||||||
root.sortSearchString = searchInput.text;
|
root.sortSearchString = searchInput.text;
|
||||||
root.reset();
|
root.reset();
|
||||||
|
|
Loading…
Reference in a new issue