diff options
author | Roland Knall <rknall@gmail.com> | 2019-11-04 12:06:06 +0000 |
---|---|---|
committer | Roland Knall <rknall@gmail.com> | 2019-11-04 13:11:10 +0000 |
commit | d21078309de6a37613cd64788eb5128e154c63ef (patch) | |
tree | f56b7c9028d063a94a10a678cf5ac4767846f0af | |
parent | a8052b9f3816656e9a1cf809308bd7bfedbe89cd (diff) |
Qt: Hide Searchbar if the icon is activated again
Change-Id: Ic478cc29ac1e0685737580da7110ec9f5d06d313
Reviewed-on: https://code.wireshark.org/review/34950
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
-rw-r--r-- | ui/qt/main_window_slots.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/qt/main_window_slots.cpp b/ui/qt/main_window_slots.cpp index 5590509d59..b3645ac1da 100644 --- a/ui/qt/main_window_slots.cpp +++ b/ui/qt/main_window_slots.cpp @@ -1978,6 +1978,8 @@ void MainWindow::on_actionEditFindPacket_triggered() connect(previous_focus_, SIGNAL(destroyed()), this, SLOT(resetPreviousFocus())); if (!main_ui_->searchFrame->isVisible()) { showAccordionFrame(main_ui_->searchFrame, true); + } else { + main_ui_->searchFrame->animatedHide(); } main_ui_->searchFrame->setFocus(); } |