Merge pull request #87790 from nongvantinh/fix-87643
Fix incorrect condition for error filtering
This commit is contained in:
commit
8a47d6eb50
|
@ -308,14 +308,14 @@ namespace GodotTools.Build
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
string searchText = _searchBox.Text;
|
string searchText = _searchBox.Text;
|
||||||
if (!string.IsNullOrEmpty(searchText) &&
|
if (string.IsNullOrEmpty(searchText))
|
||||||
(!diagnostic.Message.Contains(searchText, StringComparison.OrdinalIgnoreCase) ||
|
return true;
|
||||||
!(diagnostic.File?.Contains(searchText, StringComparison.OrdinalIgnoreCase) ?? false)))
|
if (diagnostic.Message.Contains(searchText, StringComparison.OrdinalIgnoreCase))
|
||||||
{
|
return true;
|
||||||
return false;
|
if (diagnostic.File?.Contains(searchText, StringComparison.OrdinalIgnoreCase) ?? false)
|
||||||
}
|
return true;
|
||||||
|
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
private Color? GetProblemItemColor(BuildDiagnostic diagnostic)
|
private Color? GetProblemItemColor(BuildDiagnostic diagnostic)
|
||||||
|
|
Loading…
Reference in New Issue