diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2006-08-29 21:03:33 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2006-08-29 21:03:33 +0000 |
commit | 6bacefdd2de6dad371ea9c87b568a345cb860145 (patch) | |
tree | 7c4f620e0b3006d87b0d409bf48636d38142784a | |
parent | adc7305cd4e1016ec7a9f15a0ab1afaa8eb4794d (diff) |
fix a minor bug: don't show a single file twice in the fileset dialog
svn path=/trunk/; revision=19078
-rw-r--r-- | fileset.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 */); |