Remove unnecessary assignment of SelectedFeatureIds and RestartExplorer in cancel handler

This commit is contained in:
Raphire
2026-03-22 23:58:21 +01:00
parent bcfed9daff
commit 85bdf765e5

View File

@@ -179,10 +179,6 @@ function Show-RevertSettingsModal {
})
$cancelHandler = {
$revertWindow.Tag = [PSCustomObject]@{
SelectedFeatureIds = @()
RestartExplorer = ($restartExplorerCheckbox -and $restartExplorerCheckbox.IsChecked -eq $true)
}
$revertWindow.Close()
}