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:21 +0000 |
commit | 73ee9178414e8d6bf7df3f508c407920c47359ee (patch) | |
tree | ee82a42272fb913c42edc5c05b916d32303047b8 | |
parent | 4adeb424f5cdb74ca1f98cd4b87bd72e4d811f03 (diff) |
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>
-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 d7e53bba67..689feaee22 100644 --- a/ui/qt/main_window_slots.cpp +++ b/ui/qt/main_window_slots.cpp @@ -1336,9 +1336,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(); } |