diff --git a/main/src/ui/global_search.vala b/main/src/ui/global_search.vala index 9c9f7e9d..c7c990ba 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) {