aboutsummaryrefslogtreecommitdiffstats
path: root/fileset.c
diff options
context:
space:
mode:
Diffstat (limited to 'fileset.c')
-rw-r--r--fileset.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fileset.c b/fileset.c
index 81cc739d7f..c0c192d65d 100644
--- a/fileset.c
+++ b/fileset.c
@@ -272,9 +272,7 @@ fileset_add_dir(const char *fname)
} else {
/* no, this is a "standalone file", just add this one */
entry = fileset_add_file(dirname->str, get_basename(fname), TRUE /* current */);
- if(entry) {
- fileset_dlg_add_file(entry);
- }
+ /* don't add the file to the dialog here, this will be done in fileset_update_dlg() below */
}
g_string_free(dirname, TRUE /* free_segment */);