diff --git a/functions/public/Invoke-WPFUIElements.ps1 b/functions/public/Invoke-WPFUIElements.ps1 index f4c2d73b..3851536d 100644 --- a/functions/public/Invoke-WPFUIElements.ps1 +++ b/functions/public/Invoke-WPFUIElements.ps1 @@ -292,7 +292,7 @@ function Invoke-WPFUIElements { $checkBox.FontSize = $theme.FontSize $checkBox.ToolTip = $entryInfo.Description $checkBox.Margin = $theme.CheckBoxMargin - if ($entryInfo.Checked) { + if ($entryInfo.Checked -eq $true) { $checkBox.IsChecked = $entryInfo.Checked } $horizontalStackPanel.Children.Add($checkBox) | Out-Null