From 4f238758db628ee62e4c64411b9f7860dc9f46d1 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 3 Jul 2013 12:38:30 +0100 Subject: Don't allow empty folders. --- desktop/global_history.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3