summaryrefslogtreecommitdiff
path: root/ui/gtk/edit_packet_comment_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/edit_packet_comment_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/edit_packet_comment_dlg.c')
-rw-r--r--ui/gtk/edit_packet_comment_dlg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/gtk/edit_packet_comment_dlg.c b/ui/gtk/edit_packet_comment_dlg.c
index 020696f8bd..19ba870234 100644
--- a/ui/gtk/edit_packet_comment_dlg.c
+++ b/ui/gtk/edit_packet_comment_dlg.c
@@ -40,6 +40,7 @@
#include "ui/simple_dialog.h"
#include "ui/gtk/dlg_utils.h"
+#include "ui/gtk/expert_comp_dlg.h"
#include "ui/gtk/gui_utils.h"
#include "ui/gtk/help_dlg.h"
#include "ui/gtk/main.h"
@@ -67,6 +68,7 @@ pkt_comment_text_buff_ok_cb(GtkWidget *w _U_, GtkWidget *view)
/*g_warning("The new comment is '%s'",new_packet_comment);*/
packet_list_update_packet_comment(new_packet_comment);
+ expert_comp_packet_comment_updated();
window_destroy(edit_or_add_pkt_comment_dlg);