summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/global_history.c2
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;