diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-02-26 19:54:58 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-02-26 19:54:58 +0000 |
commit | ce30b39aa30021c0893445558f341fae59ba8089 (patch) | |
tree | 45872e51a753e51b9e8b368a1e5babdee982f0ee /ui/gtk/summary_dlg.c | |
parent | f71f3decb655de938f35e99023593d43f6f7883c (diff) | |
download | wireshark-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.c | 2 |
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; } |