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) {