summaryrefslogtreecommitdiff
path: root/ui/qt/uat_dialog.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-08-26 11:24:29 -0700
committerGerald Combs <gerald@wireshark.org>2015-08-26 22:02:19 +0000
commit374439daa17fe2692746857b920616354ce658e7 (patch)
treee9857e674c25918585b918ca8521354a957a15a2 /ui/qt/uat_dialog.cpp
parent8ad56117502207d95d54bd2c8dff24d001530d24 (diff)
downloadwireshark-374439daa17fe2692746857b920616354ce658e7.tar.gz
Don't emit app signals from dialogs.
Emitting PacketDissectionChanged from a dialog on can render the main window unusable on OS X. A workaround for this was added to the preferences dialog in g8fc2327. Generalize the workaround and use it elsewhere. Fix the "Enabled Protocols" action name while we're here. Bug: 11361 Bug: 11448 Change-Id: I89e98daaaedc877d3b13b0d33b6f3be033e323d7 Reviewed-on: https://code.wireshark.org/review/10271 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/uat_dialog.cpp')
-rw-r--r--ui/qt/uat_dialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/uat_dialog.cpp b/ui/qt/uat_dialog.cpp
index e2a6e957fe..8e39b68b57 100644
--- a/ui/qt/uat_dialog.cpp
+++ b/ui/qt/uat_dialog.cpp
@@ -496,11 +496,11 @@ void UatDialog::applyChanges()
if (uat_->flags & UAT_AFFECTS_FIELDS) {
/* Recreate list with new fields and redissect packets */
- wsApp->emitAppSignal(WiresharkApplication::FieldsChanged);
+ wsApp->queueAppSignal(WiresharkApplication::FieldsChanged);
}
if (uat_->flags & UAT_AFFECTS_DISSECTION) {
/* Just redissect packets if we have any */
- wsApp->emitAppSignal(WiresharkApplication::PacketDissectionChanged);
+ wsApp->queueAppSignal(WiresharkApplication::PacketDissectionChanged);
}
}