summaryrefslogtreecommitdiff
path: root/ui/qt/main_window.cpp
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-09-01 07:37:45 -0700
committerGerald Combs <gerald@wireshark.org>2015-09-01 17:39:04 +0000
commitdb2fdfd7ef576dd78691320a8b4d456677d328e4 (patch)
tree674189ab4c6e1080c5f969f00f3f5987237b9cac /ui/qt/main_window.cpp
parenta8682af9191b42d53ac7b10df8bf53f32273343d (diff)
downloadwireshark-db2fdfd7ef576dd78691320a8b4d456677d328e4.tar.gz
Fixup the main window tab order.
Make sure the packet list is directly after the display filter edit in the main window tab order. When we press enter in the display filter edit, go to the next child in the tab order. Change-Id: If46e178365dbd59feb5985e9f8fa8b55d004d864 Reviewed-on: https://code.wireshark.org/review/10342 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/main_window.cpp')
-rw-r--r--ui/qt/main_window.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/qt/main_window.cpp b/ui/qt/main_window.cpp
index b7e4ad44d5..873b6fb993 100644
--- a/ui/qt/main_window.cpp
+++ b/ui/qt/main_window.cpp
@@ -359,6 +359,8 @@ MainWindow::MainWindow(QWidget *parent) :
updatePreferenceActions();
setForCaptureInProgress(false);
+ setTabOrder(df_combo_box_, packet_list_);
+
connect(&capture_file_, SIGNAL(captureCapturePrepared(capture_session *)),
this, SLOT(captureCapturePrepared(capture_session *)));
connect(&capture_file_, SIGNAL(captureCaptureUpdateStarted(capture_session *)),
@@ -627,7 +629,6 @@ void MainWindow::setPipeInputHandler(gint source, gpointer user_data, ws_process
#endif
}
-
bool MainWindow::eventFilter(QObject *obj, QEvent *event) {
// The user typed some text. Start filling in a filter.