Skip to content

Commit

Permalink
Qt: Show capture filter warning
Browse files Browse the repository at this point in the history
Change-Id: I080bcb25edcee0c38984cd1a7f7f36a7fd3ff36c
Reviewed-on: https://code.wireshark.org/review/13055
Reviewed-by: Stig Bjørlykke <[email protected]>
  • Loading branch information
stigbjorlykke committed Jan 5, 2016
1 parent b4ee72d commit a7e3ba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/qt/capture_filter_edit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ void CaptureFilterEdit::setFilterSyntaxState(QString filter, int state, QString

if (filter.compare(text()) == 0) { // The user hasn't changed the filter
setSyntaxState((SyntaxState)state);
if (!valid) {
if (!err_msg.isEmpty()) {
emit pushFilterSyntaxStatus(err_msg);
}
}
Expand Down

0 comments on commit a7e3ba0

Please sign in to comment.