summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2015-11-28 20:03:46 +0100
committerStig Bjørlykke <stig@bjorlykke.org>2015-11-28 19:13:20 +0000
commit41d4dabc291757b5aa880ca98d2c3eb5d8bc3fe3 (patch)
tree434f5a4b027a1c02e6112c4f731aaa25cf5592d6 /ui
parent2f5849cc8c6347b3c1a4a16887d40fead6a841c3 (diff)
downloadwireshark-41d4dabc291757b5aa880ca98d2c3eb5d8bc3fe3.tar.gz
Qt: Validate capture filter before showing packet list.
When starting a capture do validate all settings before showing the packet list. Bug: 11667 Change-Id: Ia0457b9643ca76f8d51c0a254f587398dda888d9 Reviewed-on: https://code.wireshark.org/review/12259 Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'ui')
-rw-r--r--ui/qt/main_window_slots.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/main_window_slots.cpp b/ui/qt/main_window_slots.cpp
index 58e22a3c01..86ba833bd6 100644
--- a/ui/qt/main_window_slots.cpp
+++ b/ui/qt/main_window_slots.cpp
@@ -781,8 +781,6 @@ void MainWindow::startCapture() {
return;
}
- main_ui_->mainStack->setCurrentWidget(&master_split_);
-
// Ideally we should have disabled the start capture
// toolbar buttons and menu items. This may not be the
// case, e.g. with QtMacExtras.
@@ -793,6 +791,8 @@ void MainWindow::startCapture() {
return;
}
+ main_ui_->mainStack->setCurrentWidget(&master_split_);
+
/* XXX - we might need to init other pref data as well... */
/* XXX - can this ever happen? */