Wireshark-commits: [Wireshark-commits] master-2.0 bd9da14: Mark the file as having unsaved data if
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 19 Jul 2016 00:49:01 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=bd9da14c7df803ca737e6b8884d0d66123bbd645
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

bd9da14 by Guy Harris (guy@xxxxxxxxxxxx):

    Mark the file as having unsaved data if you change address resolution.
    
    That information can, and will, get saved in some file formats, so mark
    the file as changed so it can and will get saved by "Save".
    
    XXX - we need to treat it as a type of data that can be discarded when
    saving in some file formats, just like comments.
    
    Bug: 12629
    Change-Id: I1fd69b95f4f7345c339961b4c53c28b98b364e4e
    Reviewed-on: https://code.wireshark.org/review/16538
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit e5fa40ab31fd127b4ad005448b6676fe9517a755)
    Reviewed-on: https://code.wireshark.org/review/16541
    

Actions performed:

    from  28981e0   [Automatic update for 2016-07-17]
    adds  bd9da14   Mark the file as having unsaved data if you change address resolution.


Summary of changes:
 file.c                         |   18 ++++++++++++++++++
 file.h                         |   10 ++++++++++
 ui/gtk/manual_addr_resolv.c    |    3 ++-
 ui/qt/address_editor_frame.cpp |   29 ++++++++++++++++-------------
 ui/qt/address_editor_frame.h   |    1 +
 5 files changed, 47 insertions(+), 14 deletions(-)