From 603bb5097d01740edc20c279d8d8f7aea1949710 Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Sat, 6 Jan 2018 12:10:06 -0500 Subject: Set captures preferences for PREF_EFFECT_CAPTURE. This is a simple example of changing preferences that don't affect dissection to something else, so that changing them doesn't cause a file to be redissected unnecessarily Change-Id: I77c64c739e8bbc9f2a202f744f27cb07be4a822b Reviewed-on: https://code.wireshark.org/review/25173 Petri-Dish: Michael Mann Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann --- ui/qt/preferences_dialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/qt/preferences_dialog.cpp') diff --git a/ui/qt/preferences_dialog.cpp b/ui/qt/preferences_dialog.cpp index bd4c848887..a6b41671ce 100644 --- a/ui/qt/preferences_dialog.cpp +++ b/ui/qt/preferences_dialog.cpp @@ -269,7 +269,7 @@ void PreferencesDialog::on_buttonBox_accepted() wsApp->setMonospaceFont(prefs.gui_qt_font_name); - if (must_redissect) { + if (must_redissect & PREF_EFFECT_DISSECTION) { /* Redissect all the packets, and re-evaluate the display filter. */ wsApp->queueAppSignal(WiresharkApplication::PacketDissectionChanged); } -- cgit v1.2.3