mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 20:46:50 +03:00
Global history: Enable search feature.
This commit is contained in:
parent
4e224135ec
commit
88c9a2e12d
@ -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,
|
err = treeview_create(&gh_ctx.tree, &gh_tree_cb_t,
|
||||||
N_FIELDS, gh_ctx.fields,
|
N_FIELDS, gh_ctx.fields,
|
||||||
cw_t, core_window_handle,
|
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) {
|
if (err != NSERROR_OK) {
|
||||||
gh_ctx.tree = NULL;
|
gh_ctx.tree = NULL;
|
||||||
return err;
|
return err;
|
||||||
|
Loading…
Reference in New Issue
Block a user