forked from osmocom/wireshark
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>
This commit is contained in:
parent
a8052b9f38
commit
d21078309d
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue