We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 770239a commit 5baddb0Copy full SHA for 5baddb0
Rubberduck.Core/UI/Settings/InspectionSettingsViewModel.cs
@@ -88,9 +88,7 @@ private bool FilterResults(object setting)
88
var cis = setting as CodeInspectionSetting;
89
90
return cis.Description.ToUpper().Contains(_inspectionSettingsDescriptionFilter.ToUpper())
91
- && _selectedSeverityFilter == _allResultsFilter
92
- ? true
93
- : cis.Severity.ToString() == _selectedSeverityFilter;
+ && (_selectedSeverityFilter.Equals(_allResultsFilter) || cis.Severity.ToString().Equals(_selectedSeverityFilter));
94
}
95
96
private ListCollectionView _inspectionSettings;
0 commit comments