aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Knall <rknall@gmail.com>2017-11-19 17:43:02 +0100
committerRoland Knall <rknall@gmail.com>2017-11-19 17:28:41 +0000
commit61bd626d5d10a7cd0e2dac667bbb262452fe906f (patch)
tree32b34081b1e1378b0cce8cacdef976f39daee1b5
parente9d8eba4163b515b58bfc0b8614a34876b2628a8 (diff)
Qt: Fix Activation of menus
Fixes the bug, where submenu items are not properly activated Bug: 14232 Change-Id: I007010310dfa8a6c7eba3ba8cdf3eac74701b0ba Reviewed-on: https://code.wireshark.org/review/24493 Petri-Dish: Roland Knall <rknall@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com>
-rw-r--r--ui/qt/main_window.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/qt/main_window.cpp b/ui/qt/main_window.cpp
index 78dde5cf5f..2dee41a3e5 100644
--- a/ui/qt/main_window.cpp
+++ b/ui/qt/main_window.cpp
@@ -499,6 +499,8 @@ MainWindow::MainWindow(QWidget *parent) :
this, SIGNAL(fieldSelected(FieldInformation *)));
connect(packet_list_, SIGNAL(frameSelected(int)),
this, SIGNAL(frameSelected(int)));
+ connect(this, SIGNAL(frameSelected(int)),
+ this, SLOT(setMenusForSelectedPacket()));
connect(packet_list_->packetListModel(), SIGNAL(bgColorizationProgress(int,int)),
main_ui_->wirelessTimelineWidget, SLOT(bgColorizationProgress(int,int)));