From 67a80654a2d8d3e5c396870c3bc70f28bb29da22 Mon Sep 17 00:00:00 2001 From: ulfl Date: Tue, 29 Aug 2006 21:03:33 +0000 Subject: [PATCH] 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 --- fileset.c | 4 +--- 1 file changed, 1 insertion(+), 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 */); -- 2.34.1