diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-08-29 21:03:33 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-08-29 21:03:33 +0000 |
commit | 67a80654a2d8d3e5c396870c3bc70f28bb29da22 (patch) | |
tree | 7c4f620e0b3006d87b0d409bf48636d38142784a /fileset.c | |
parent | 3ab9805e098301f3cb8be772cbb83dca982644eb (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.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 */); |