aboutsummaryrefslogtreecommitdiffstats
path: root/fileset.c
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2006-08-29 21:03:33 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2006-08-29 21:03:33 +0000
commit67a80654a2d8d3e5c396870c3bc70f28bb29da22 (patch)
tree7c4f620e0b3006d87b0d409bf48636d38142784a /fileset.c
parent3ab9805e098301f3cb8be772cbb83dca982644eb (diff)
fix a minor bug: don't show a single file twice in the fileset dialog
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19078 f5534014-38df-0310-8fa8-9805f1628bb7
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 */);