aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/expert_comp_dlg.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-06-03 17:52:05 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-06-03 17:52:05 +0000
commitde19187a4f0864c9ab2e92ab66b47faf91193c04 (patch)
tree9b5add3aed54913c3596ae60bc177aac5f8c6dbd /ui/gtk/expert_comp_dlg.c
parent19dfeda6d69b090bc939276b4112abe0d981a000 (diff)
From Evan Huus: Reset the comment tree when the filter changes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7317
svn path=/trunk/; revision=43038
Diffstat (limited to 'ui/gtk/expert_comp_dlg.c')
-rw-r--r--ui/gtk/expert_comp_dlg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/gtk/expert_comp_dlg.c b/ui/gtk/expert_comp_dlg.c
index 00a0041eff..7e36b18973 100644
--- a/ui/gtk/expert_comp_dlg.c
+++ b/ui/gtk/expert_comp_dlg.c
@@ -144,6 +144,7 @@ static void expert_dlg_display_reset(expert_tapdata_t * etd)
{
etd->disp_events = 0;
gtk_list_store_clear(GTK_LIST_STORE(gtk_tree_view_get_model(GTK_TREE_VIEW(etd->tree_view))));
+ gtk_list_store_clear(GTK_LIST_STORE(gtk_tree_view_get_model(GTK_TREE_VIEW(etd->tree_view_comments))));
gtk_window_set_title(GTK_WINDOW(etd->win), "Wireshark: ? Expert Infos");
if(etd->label) {