Mark the gile as unsaved if comments are edited
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 26 Feb 2012 19:54:58 +0000 (19:54 +0000)
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 26 Feb 2012 19:54:58 +0000 (19:54 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@41198 f5534014-38df-0310-8fa8-9805f1628bb7

ui/gtk/summary_dlg.c

index 0a30378..5afd9c3 100644 (file)
@@ -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;
 
 }