Qt: Double clicking a packet opens the packet window.
Connect the packet list's doubleClicked signal to the main window's openPacketDialog slot. Change-Id: I5bc20c113fb1f22e2257fc1dbdef76c9920e05d0 Reviewed-on: https://code.wireshark.org/review/7092 Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
parent
6e88978fd9
commit
a0498f177a
|
@ -386,6 +386,8 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||
connect(packet_list_, SIGNAL(editColumn(int)), this, SLOT(showColumnEditor(int)));
|
||||
connect(main_ui_->columnEditorFrame, SIGNAL(columnEdited()),
|
||||
packet_list_, SLOT(redrawVisiblePackets()));
|
||||
connect(packet_list_, SIGNAL(doubleClicked(QModelIndex)),
|
||||
this, SLOT(openPacketDialog()));
|
||||
|
||||
connect(proto_tree_, SIGNAL(protoItemSelected(QString&)),
|
||||
main_ui_->statusBar, SLOT(pushFieldStatus(QString&)));
|
||||
|
|
Loading…
Reference in New Issue