summaryrefslogtreecommitdiff
path: root/ui/gtk/expert_comp_dlg.c
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2012-09-10 19:48:16 +0000
committerMartin Kaiser <wireshark@kaiser.cx>2012-09-10 19:48:16 +0000
commit17a8522cb63c9f61992b05a6a65981af0b0453c8 (patch)
treed4a9f4240f7e40799b4cfdf11f9a72d99fbdbe4a /ui/gtk/expert_comp_dlg.c
parent8363dc43b235b851c84a525be258019bec95b2ad (diff)
downloadwireshark-17a8522cb63c9f61992b05a6a65981af0b0453c8.tar.gz
update the expert info entries after a packet comment was modified
the packet comment window can be opened from the expert infos by clicking on a comment, when a comment is modified in this way, we have to cf_retap_packets() to update the expert infos window https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7690 svn path=/trunk/; revision=44852
Diffstat (limited to 'ui/gtk/expert_comp_dlg.c')
-rw-r--r--ui/gtk/expert_comp_dlg.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/gtk/expert_comp_dlg.c b/ui/gtk/expert_comp_dlg.c
index 3448522fdf..2535cf42e2 100644
--- a/ui/gtk/expert_comp_dlg.c
+++ b/ui/gtk/expert_comp_dlg.c
@@ -962,3 +962,9 @@ register_tap_listener_expert_comp(void)
register_stat_cmd_arg("expert_comp", expert_comp_init,NULL);
}
+void
+expert_comp_packet_comment_updated(void)
+{
+ if (expert_comp_dlg_w)
+ cf_retap_packets(&cfile);
+}