summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2015-11-25 20:51:09 +0100
committerStig Bjørlykke <stig@bjorlykke.org>2015-11-26 07:46:11 +0000
commit682e3a6117981eaae009d44225fa80e69511364e (patch)
tree6abb3f4f528c63006c3ac9ffe0ab152f25f2160b
parent904e1b4dafa6287f763a9004361e5725ae769758 (diff)
downloadwireshark-682e3a6117981eaae009d44225fa80e69511364e.tar.gz
Qt: Redissect packets when changing profile
When changing profile the protocol/dissector preferences may change so we need to redissect according to new settings. We should probably have a preferences diff to check if a redissect is needed, like it is in the preferences dialog. Bug: 11757 Change-Id: I025bbc7297966986a697f2a6368d9a74e3c1ba72 Reviewed-on: https://code.wireshark.org/review/12156 Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org> (cherry picked from commit ce9d2ee428ce699e8b1c0c184a38cd75441e8d25) Reviewed-on: https://code.wireshark.org/review/12169
-rw-r--r--ui/qt/wireshark_application.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/qt/wireshark_application.cpp b/ui/qt/wireshark_application.cpp
index 4411e35d16..550deb304c 100644
--- a/ui/qt/wireshark_application.cpp
+++ b/ui/qt/wireshark_application.cpp
@@ -379,6 +379,8 @@ void WiresharkApplication::setConfigurationProfile(const gchar *profile_name)
/* Reload color filters */
color_filters_reload();
+ emit packetDissectionChanged();
+
// user_font_apply();
/* Update menus with new recent values */