aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/fs/download.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/fs/download.c')
-rw-r--r--src/plugins/fs/download.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/fs/download.c b/src/plugins/fs/download.c
index 5a03b657..131ff210 100644
--- a/src/plugins/fs/download.c
+++ b/src/plugins/fs/download.c
@@ -847,7 +847,9 @@ clearCompletedDownloadCallback(GtkTreeModel * model,
847 iter, 847 iter,
848 DOWNLOAD_INTERNAL, &dl, 848 DOWNLOAD_INTERNAL, &dl,
849 -1); 849 -1);
850 if (dl->has_terminated) { 850 if ( (FALSE == gtk_tree_model_iter_has_child(model,
851 iter)) &&
852 (dl->has_terminated) ) {
851 fcbc.method = &FSUI_stopDownload; 853 fcbc.method = &FSUI_stopDownload;
852 fcbc.argument = dl->fsui_list; 854 fcbc.argument = dl->fsui_list;
853 run_with_save_calls(&fsui_callback, 855 run_with_save_calls(&fsui_callback,