mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-14 14:45:52 -06:00
Fix prefer choco visibility (#2782)
This commit is contained in:
parent
42febae25e
commit
662139ca5f
@ -452,8 +452,8 @@ $sync["SearchBar"].Add_TextChanged({
|
|||||||
$textToSearch = $sync.SearchBar.Text.ToLower()
|
$textToSearch = $sync.SearchBar.Text.ToLower()
|
||||||
|
|
||||||
foreach ($CheckBox in $CheckBoxes) {
|
foreach ($CheckBox in $CheckBoxes) {
|
||||||
# Check if the checkbox is null or if it doesn't have content
|
# Skip if the checkbox is null, it doesn't have content or it is the prefer Choco checkbox
|
||||||
if ($CheckBox -eq $null -or $CheckBox.Value -eq $null -or $CheckBox.Value.Content -eq $null) {
|
if ($CheckBox -eq $null -or $CheckBox.Value -eq $null -or $CheckBox.Value.Content -eq $null -or $CheckBox.Name -eq "WPFpreferChocolatey") {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user