Skip to content

Commit

Permalink
ViewModels: ProcessSelectorDialogViewModel: Fix filter predicate
Browse files Browse the repository at this point in the history
  • Loading branch information
FaithBeam committed Apr 16, 2024
1 parent 0bcadaf commit 6038362
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ private Func<ProcessModel, bool> CreateProcessFilterPredicate(string? txt)
}


return model => string.IsNullOrWhiteSpace(model.Process.ProcessName) ||
return model => !string.IsNullOrWhiteSpace(model.Process.ProcessName) &&
model.Process.ProcessName.Contains(txt, StringComparison.OrdinalIgnoreCase);
}

Expand Down

0 comments on commit 6038362

Please sign in to comment.