From 6313e96e27e56f3a1d2bfd977487d998565f8c2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig=20Bj=C3=B8rlykke?= Date: Wed, 25 Jan 2017 10:57:49 +0100 Subject: Qt: Hide "Go to Packet" frame when closing capture file. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman --- ui/qt/main_window_slots.cpp | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.1