diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-07-03 12:38:30 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-07-03 12:38:30 +0100 |
commit | 4f238758db628ee62e4c64411b9f7860dc9f46d1 (patch) | |
tree | 243546bccb070d2236555dab832fbc57ebab5f9b /desktop/global_history.c | |
parent | 657d6ed587a4d27510de7c5836d790e1589c1075 (diff) | |
download | netsurf-4f238758db628ee62e4c64411b9f7860dc9f46d1.tar.gz netsurf-4f238758db628ee62e4c64411b9f7860dc9f46d1.tar.bz2 |
Don't allow empty folders.
Diffstat (limited to 'desktop/global_history.c')
-rw-r--r-- | desktop/global_history.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/global_history.c b/desktop/global_history.c index e5326c60f..d3d3391f5 100644 --- a/desktop/global_history.c +++ b/desktop/global_history.c @@ -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; |