summaryrefslogtreecommitdiff
path: root/desktop/treeview.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/treeview.c')
-rw-r--r--desktop/treeview.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/treeview.c b/desktop/treeview.c
index ca6cb4fbc..62e196ee2 100644
--- a/desktop/treeview.c
+++ b/desktop/treeview.c
@@ -2033,6 +2033,8 @@ nserror treeview_cw_detach(treeview *tree)
tree->cw_t = NULL;
tree->cw_h = NULL;
+ treeview__search_cancel(tree, true);
+
return NSERROR_OK;
}