summaryrefslogtreecommitdiff
path: root/ui/qt/decode_as_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/decode_as_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/decode_as_dialog.cpp')
-rw-r--r--ui/qt/decode_as_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/decode_as_dialog.cpp b/ui/qt/decode_as_dialog.cpp
index 7edf2f248b..ed45346adb 100644
--- a/ui/qt/decode_as_dialog.cpp
+++ b/ui/qt/decode_as_dialog.cpp
@@ -587,7 +587,7 @@ void DecodeAsDialog::applyChanges()
delete(dissector_info);
}
- wsApp->emitAppSignal(WiresharkApplication::PacketDissectionChanged);
+ wsApp->queueAppSignal(WiresharkApplication::PacketDissectionChanged);
}
void DecodeAsDialog::on_buttonBox_clicked(QAbstractButton *button)