mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 12:09:57 +00:00
History: collapse "Sort & Filter" when user types
This commit is contained in:
parent
7c379e2cda
commit
3eae630cfe
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