diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2020-08-05 15:50:50 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2020-08-05 14:59:15 +0000 |
commit | f54611d1104d85a425e52c7318c522ed249916b6 (patch) | |
tree | ccdf0fea28743e48d0ce326269272ab70838d697 /ui | |
parent | 3a5d0569d7ad29a01499c04cf844e605634035d8 (diff) |
Qt: Pop filter syntax in search frame
Pop the filter syntax message in search frame when changing search type
and when hiding the widget to avoid having outdated status messages.
Change-Id: I87c63c070621cff0d5ecebc2fcd41f9d7c02adec
Reviewed-on: https://code.wireshark.org/review/38051
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/search_frame.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/qt/search_frame.cpp b/ui/qt/search_frame.cpp index 51c3ea145e..ef20ec16b6 100644 --- a/ui/qt/search_frame.cpp +++ b/ui/qt/search_frame.cpp @@ -343,6 +343,7 @@ void SearchFrame::on_searchTypeComboBox_currentIndexChanged(int idx) break; } + wsApp->popStatus(WiresharkApplication::FilterSyntax); updateWidgets(); } @@ -503,6 +504,7 @@ void SearchFrame::on_findButton_clicked() void SearchFrame::on_cancelButton_clicked() { + wsApp->popStatus(WiresharkApplication::FilterSyntax); animatedHide(); } |