forked from Public/monero-gui
History: collapse "Sort & Filter" when user types
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user