Treeview: Cancel any search when treeview is detatched from its corewindow.

This commit is contained in:
Michael Drake 2017-09-22 09:37:50 +01:00
parent 798bfbf80f
commit 73adebf263

View File

@ -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;
}