summaryrefslogtreecommitdiff
path: root/ui/gtk/summary_dlg.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-02-26 19:54:58 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-02-26 19:54:58 +0000
commitce30b39aa30021c0893445558f341fae59ba8089 (patch)
tree45872e51a753e51b9e8b368a1e5babdee982f0ee /ui/gtk/summary_dlg.c
parentf71f3decb655de938f35e99023593d43f6f7883c (diff)
downloadwireshark-ce30b39aa30021c0893445558f341fae59ba8089.tar.gz
Mark the gile as unsaved if comments are edited
svn path=/trunk/; revision=41198
Diffstat (limited to 'ui/gtk/summary_dlg.c')
-rw-r--r--ui/gtk/summary_dlg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/gtk/summary_dlg.c b/ui/gtk/summary_dlg.c
index 0a303783ca..5afd9c3a63 100644
--- a/ui/gtk/summary_dlg.c
+++ b/ui/gtk/summary_dlg.c
@@ -146,6 +146,8 @@ summary_comment_text_buff_save_cb(GtkWidget *w _U_, GtkWidget *view)
/*g_warning("The new comment is '%s'",new_packet_comment);*/
summary_update_comment(&cfile, new_comment);
+ /* Mark the file as unsaved, caues a popup asking to save the file if we quit the file */
+ cfile.user_saved = FALSE;
}