summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2017-01-25 10:57:49 +0100
committerAnders Broman <a.broman58@gmail.com>2017-01-27 05:07:14 +0000
commit6313e96e27e56f3a1d2bfd977487d998565f8c2e (patch)
treeb5fb438ab9d5865fde7601e45feb2825372f1bee
parent7f4d8491f32a0bb8ea37376443429e162ea6cd86 (diff)
downloadwireshark-6313e96e27e56f3a1d2bfd977487d998565f8c2e.tar.gz
Qt: Hide "Go to Packet" frame when closing capture file.
The "Go to Packet" frame cannot be used without a capture file so ensure we hide this when closing a capture file. Change-Id: I339bc90b87181a8361e9f0bf27dfdf26d2f05333 Reviewed-on: https://code.wireshark.org/review/19783 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--ui/qt/main_window_slots.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/main_window_slots.cpp b/ui/qt/main_window_slots.cpp
index c16e474856..f715dc38ab 100644
--- a/ui/qt/main_window_slots.cpp
+++ b/ui/qt/main_window_slots.cpp
@@ -782,6 +782,7 @@ void MainWindow::captureFileClosing() {
// Reset expert information indicator
main_ui_->statusBar->captureFileClosing();
main_ui_->searchFrame->animatedHide();
+ main_ui_->goToFrame->animatedHide();
// gtk_widget_show(expert_info_none);
emit setCaptureFile(NULL);
emit setDissectedCaptureFile(NULL);