summaryrefslogtreecommitdiff
path: root/ui/gtk/profile_dlg.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2013-07-09 19:00:11 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2013-07-09 19:00:11 +0000
commit678913dd09cb0b43b1a5f88ca419948649dc383e (patch)
treef1a1669107ebe41b706bfa65be89f999052c4697 /ui/gtk/profile_dlg.c
parent43c3cb4884647b965217ea67b7b23c00de788ca0 (diff)
downloadwireshark-678913dd09cb0b43b1a5f88ca419948649dc383e.tar.gz
Avoid having double "Default" entry in "Create New Profile".
#BACKPORT 1.10 svn path=/trunk/; revision=50471
Diffstat (limited to 'ui/gtk/profile_dlg.c')
-rw-r--r--ui/gtk/profile_dlg.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/gtk/profile_dlg.c b/ui/gtk/profile_dlg.c
index 01726f0d5a..ba3620d310 100644
--- a/ui/gtk/profile_dlg.c
+++ b/ui/gtk/profile_dlg.c
@@ -886,8 +886,6 @@ profile_manage_profiles_dlg(gint operation)
gtk_tree_store_set(store, &parent, 0, "Personal", 1, FALSE, 2, FALSE, -1);
}
- gtk_tree_store_append(store, &iter, has_global ? &parent : NULL);
- gtk_tree_store_set(store, &iter, 0, DEFAULT_PROFILE, 1, FALSE, 2, TRUE, -1);
init_profile_list();
fl_entry = current_profile_list();