aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2020-09-14 12:39:52 +0200
committerfiaxh <git@lightrise.org>2020-09-14 12:40:41 +0200
commitfb9352fef1a503cb179d9fb5907b26c2ad357923 (patch)
tree3199733e1981b94b88eb3cbbb25952145f7ef4d4
parent928802332cca8185e2ff433e03b7e79d90a0507e (diff)
downloaddino-fb9352fef1a503cb179d9fb5907b26c2ad357923.tar.gz
dino-fb9352fef1a503cb179d9fb5907b26c2ad357923.zip
Fix loading more results when scrolling through search results
-rw-r--r--main/src/ui/global_search.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/src/ui/global_search.vala b/main/src/ui/global_search.vala
index 50ebfdb8..2de47f64 100644
--- a/main/src/ui/global_search.vala
+++ b/main/src/ui/global_search.vala
@@ -119,6 +119,7 @@ public class GlobalSearch : Overlay {
private void clear_search() {
results_box.@foreach((widget) => { widget.destroy(); });
+ loaded_results = 0;
}
private void set_search(string search) {