Skip to content

Commit

Permalink
Qt: Hide "Go to Packet" frame when closing capture file.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
stigbjorlykke authored and AndersBroman committed Jan 27, 2017
1 parent 7f4d849 commit 6313e96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/qt/main_window_slots.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 6313e96

Please sign in to comment.