add destination folder to table of folders that need to be updated after incorporation
[claws.git] / src / inc.c
index 8fe0b6544f19c0d7550130b25b112729d38cd8cc..58f6cebb1cc8811aa41c146bd5f5dd6c60394670 100644 (file)
--- a/src/inc.c
+++ b/src/inc.c
@@ -1052,6 +1052,8 @@ static gint get_spool(FolderItem *dest, const gchar *mbox)
        unlock_mbox(mbox, lockfd, LOCK_FLOCK);
 
        if (folder_table) {
+               g_hash_table_insert(folder_table, dest,
+                                   GINT_TO_POINTER(1));
                folder_item_scan_foreach(folder_table);
                folderview_update_item_foreach(folder_table);
                g_hash_table_destroy(folder_table);