diff --git a/functions/public/Invoke-WPFImpex.ps1 b/functions/public/Invoke-WPFImpex.ps1 index ae15a2fa..9142d6ec 100644 --- a/functions/public/Invoke-WPFImpex.ps1 +++ b/functions/public/Invoke-WPFImpex.ps1 @@ -92,6 +92,10 @@ function Invoke-WPFImpex { $sync.selectedFeatures = [System.Collections.Generic.List[string]]::new() Update-WinUtilSelections -flatJson $flattenedJson + + if ($sync.Form) { + Reset-WPFCheckBoxes -doToggles $true + } } } catch { Write-Error "An error occurred while importing: $_"