Qt: Fix displayfilteredit pop

Fixing the status message disappearing from the status bar

Change-Id: I16925a5a8ad6ac929e1c4da8e36e3cf8fa29db84
Reviewed-on: https://code.wireshark.org/review/35084
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
This commit is contained in:
Roland Knall 2019-11-13 16:08:08 +01:00
parent d20f13bbcd
commit c91bb19da2
1 changed files with 3 additions and 0 deletions

View File

@ -334,6 +334,9 @@ void DisplayFilterEdit::checkFilter(const QString& filter_text)
else if ( filter_text.length() <= 0 && last_applied_.length() <= 0 )
clear_button_->setVisible(false);
if ( filter_text.length() <= 0 )
wsApp->popStatus(WiresharkApplication::FilterSyntax);
alignActionButtons();
}