diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2015-11-18 08:48:50 +0100 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2015-11-18 16:36:35 +0000 |
commit | aceaaa89b2efa893f9483f4bfecaa14ba97c9e2c (patch) | |
tree | 56c9ee110091023ae82a16f9d9805f30800b5f6c | |
parent | 290601ab10fae3aca45b7030f8b7759d0917f32d (diff) | |
download | wireshark-aceaaa89b2efa893f9483f4bfecaa14ba97c9e2c.tar.gz |
Qt: Don't update expert icon without a capture file.
We don't show the expert info icon when not having a capture file,
so this should not be enabled when emitting redissectPackets().
Change-Id: I6ae6124ed9f69c214a2beadbdc670b15dfe3d060
Reviewed-on: https://code.wireshark.org/review/11937
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
(cherry picked from commit 73ee9178414e8d6bf7df3f508c407920c47359ee)
Reviewed-on: https://code.wireshark.org/review/11942
-rw-r--r-- | ui/qt/main_window_slots.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/qt/main_window_slots.cpp b/ui/qt/main_window_slots.cpp index fa5860a92d..f24f6466c9 100644 --- a/ui/qt/main_window_slots.cpp +++ b/ui/qt/main_window_slots.cpp @@ -1342,9 +1342,10 @@ void MainWindow::startInterfaceCapture(bool valid) void MainWindow::redissectPackets() { - if (capture_file_.capFile()) + if (capture_file_.capFile()) { cf_redissect_packets(capture_file_.capFile()); - main_ui_->statusBar->expertUpdate(); + main_ui_->statusBar->expertUpdate(); + } proto_free_deregistered_fields(); } |