diff options
author | Roland Knall <rknall@gmail.com> | 2017-11-19 17:43:02 +0100 |
---|---|---|
committer | Roland Knall <rknall@gmail.com> | 2017-11-19 17:28:41 +0000 |
commit | 61bd626d5d10a7cd0e2dac667bbb262452fe906f (patch) | |
tree | 32b34081b1e1378b0cce8cacdef976f39daee1b5 /ui | |
parent | e9d8eba4163b515b58bfc0b8614a34876b2628a8 (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>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/main_window.cpp | 2 |
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))); |