diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-05-14 09:28:29 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-05-14 16:31:38 +0000 |
commit | 2e7524085c6ca9e3794853f7e7748bb664234373 (patch) | |
tree | d7597a045278752d831f0ba2ac3c50208451d332 /ui/qt/preferences_dialog.cpp | |
parent | 2156413bf9cb093b7f5998399bb6ceb7b4c232ce (diff) |
Qt: Apply protocol preferences.
Make sure we call prefs_apply_all when saving preferences.
Bug: 11119
Change-Id: Iacf1e28e69c2aebcbbd7dceaa210c8219663665f
Reviewed-on: https://code.wireshark.org/review/8462
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/preferences_dialog.cpp')
-rw-r--r-- | ui/qt/preferences_dialog.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/qt/preferences_dialog.cpp b/ui/qt/preferences_dialog.cpp index 46db04d345..b69435e459 100644 --- a/ui/qt/preferences_dialog.cpp +++ b/ui/qt/preferences_dialog.cpp @@ -814,6 +814,14 @@ void PreferencesDialog::on_buttonBox_accepted() //airpcap_load_decryption_keys(airpcap_if_list); #endif + // gtk/prefs_dlg.c:prefs_main_apply_all + /* + * Apply the protocol preferences first - "gui_prefs_apply()" could + * cause redissection, and we have to make sure the protocol + * preference changes have been fully applied. + */ + prefs_apply_all(); + /* Fill in capture options with values from the preferences */ prefs_to_capture_opts(); |