Prevent crashing if the detail is not specified (where does this happen?)
This commit is contained in:
parent
a89c7e18f9
commit
485b6ba3c9
@ -46,6 +46,7 @@ namespace UniversalEditor.UserInterface.WindowsForms.Dialogs
|
||||
string[] details = item.GetDetails();
|
||||
foreach (string detail in details)
|
||||
{
|
||||
if (detail == null) continue;
|
||||
if (detail.ToLower().Trim().Contains(txtSearch.Text.ToLower().Trim()))
|
||||
{
|
||||
itemShouldFilter = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user