aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/global_search.vala
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/ui/global_search.vala')
-rw-r--r--main/src/ui/global_search.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/global_search.vala b/main/src/ui/global_search.vala
index 27ffb9d9..c64845e4 100644
--- a/main/src/ui/global_search.vala
+++ b/main/src/ui/global_search.vala
@@ -118,7 +118,7 @@ public class GlobalSearch : Overlay {
}
private void clear_search() {
- results_box.@foreach((widget) => { widget.destroy(); });
+ results_box.@foreach((widget) => { results_box.remove(widget); });
loaded_results = 0;
}