URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=5012cf84e6d84a448171dac64c14d9c83e3d4ae6
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
5012cf8 by Gerald Combs (gerald@xxxxxxxxxxxxx):
Call pre_init_prefs each time our profile changes.
Manually back out gafa96c3 so that we can set our preferences to their
default values each time we switch profiles.
Zero the prefs struct at startup.
Change-Id: Ic28db44cd0c4cdf640e977d7277f7357db10ebe8
Reviewed-on: https://code.wireshark.org/review/7282
Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
Actions performed:
from ae9cc88 Qt: Fix unsaved changes behavior.
adds 5012cf8 Call pre_init_prefs each time our profile changes.
Summary of changes:
epan/prefs.c | 107 ++++++++++++++++++++++++++++++++--------------------------
epan/prefs.h | 14 ++++----
2 files changed, 67 insertions(+), 54 deletions(-)