aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrating89us <45968869+rating89us@users.noreply.github.com>2021-06-12 20:43:35 +0200
committerGitHub <noreply@github.com>2021-06-12 20:43:35 +0200
commit3eae630cfe8a4eb36b4d5235913204e5ec7278eb (patch)
tree1dcf6ed92dd7ea789837c324e39d02f0538d21eb
parent7c379e2cdaafc0cd618dbaab466625aa76c918bf (diff)
downloadmonzero-gui-3eae630cfe8a4eb36b4d5235913204e5ec7278eb.tar.gz
monzero-gui-3eae630cfe8a4eb36b4d5235913204e5ec7278eb.tar.xz
monzero-gui-3eae630cfe8a4eb36b4d5235913204e5ec7278eb.zip
History: collapse "Sort & Filter" when user types
-rw-r--r--pages/History.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/pages/History.qml b/pages/History.qml
index 8711aca7..a1866db1 100644
--- a/pages/History.qml
+++ b/pages/History.qml
@@ -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();