summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2017-09-18 22:57:30 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2017-09-18 23:18:44 +0100
commit88c9a2e12de078103b78d58f9da0c7e0f3141470 (patch)
tree02d8053d2c3d7e2bdf832d46ab4f593799a5570e
parent4e224135ec13ca0c7a115e6c7fadb5e4a88749a8 (diff)
downloadnetsurf-88c9a2e12de078103b78d58f9da0c7e0f3141470.tar.gz
netsurf-88c9a2e12de078103b78d58f9da0c7e0f3141470.tar.bz2
Global history: Enable search feature.
-rw-r--r--desktop/global_history.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/global_history.c b/desktop/global_history.c
index e6993212c..3a06b31a5 100644
--- a/desktop/global_history.c
+++ b/desktop/global_history.c
@@ -752,7 +752,8 @@ nserror global_history_init(struct core_window_callback_table *cw_t,
err = treeview_create(&gh_ctx.tree, &gh_tree_cb_t,
N_FIELDS, gh_ctx.fields,
cw_t, core_window_handle,
- TREEVIEW_NO_MOVES | TREEVIEW_DEL_EMPTY_DIRS);
+ TREEVIEW_NO_MOVES | TREEVIEW_DEL_EMPTY_DIRS |
+ TREEVIEW_SEARCHABLE);
if (err != NSERROR_OK) {
gh_ctx.tree = NULL;
return err;