summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/hotlist.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/hotlist.c b/desktop/hotlist.c
index 5481a38c2..a54ac070d 100644
--- a/desktop/hotlist.c
+++ b/desktop/hotlist.c
@@ -795,8 +795,6 @@ nserror hotlist_fini(const char *path)
LOG(("Finalising hotlist"));
- hl_ctx.built = false;
-
/* Save the hotlist */
err = hotlist_export(path);
if (err != NSERROR_OK) {
@@ -805,6 +803,7 @@ nserror hotlist_fini(const char *path)
/* Destroy the hotlist treeview */
err = treeview_destroy(hl_ctx.tree);
+ hl_ctx.built = false;
/* Free hotlist treeview entry fields */
for (i = 0; i < HL_N_FIELDS; i++)