From fb9352fef1a503cb179d9fb5907b26c2ad357923 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Mon, 14 Sep 2020 12:39:52 +0200 Subject: [PATCH] Fix loading more results when scrolling through search results --- main/src/ui/global_search.vala | 1 + 1 file changed, 1 insertion(+) 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) {