GUI: Fix bug in severity filtering.
There was (obviously) a copy-paste bug in code converting severities to GUI's show types. This caused some severities not being filtered correctly when severity selection in GUI was changed. Fixes ticket: #3242 (GUI: Unmatched suppression: message in wrong category)
This commit is contained in:
parent
7c606c4e3b
commit
bb28041758
|
@ -47,9 +47,9 @@ ShowTypes::ShowType ShowTypes::SeverityToShowType(Severity::SeverityType severit
|
|||
case Severity::portability:
|
||||
return ShowTypes::ShowPortability;
|
||||
case Severity::information:
|
||||
return ShowTypes::ShowPortability;
|
||||
return ShowTypes::ShowInformation;
|
||||
default:
|
||||
return ShowTypes::ShowPortability;
|
||||
return ShowTypes::ShowNone;
|
||||
}
|
||||
|
||||
return ShowTypes::ShowNone;
|
||||
|
|
Loading…
Reference in New Issue