mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 20:16:54 +03:00
Don't allow empty folders.
This commit is contained in:
parent
657d6ed587
commit
4f238758db
@ -712,7 +712,7 @@ nserror global_history_init(struct core_window_callback_table *cw_t,
|
||||
err = treeview_create(&gh_ctx.tree, &tree_cb_t,
|
||||
N_FIELDS, gh_ctx.fields,
|
||||
cw_t, core_window_handle,
|
||||
TREEVIEW_NO_MOVES);
|
||||
TREEVIEW_NO_MOVES | TREEVIEW_DEL_EMPTY_DIRS);
|
||||
if (err != NSERROR_OK) {
|
||||
gh_ctx.tree = NULL;
|
||||
return err;
|
||||
|
Loading…
Reference in New Issue
Block a user