From e13e72357d01f55220eefeab4e23758edf5ead19 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 15 Aug 2013 21:13:40 +0100 Subject: Set built=false after destruction. --- desktop/hotlist.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'desktop/hotlist.c') 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++) -- cgit v1.2.3