Remove unnecessary call to updateState in Show-RevertSettingsModal function

This commit is contained in:
Raphire
2026-03-23 00:00:06 +01:00
parent 85bdf765e5
commit c15a18c376

View File

@@ -199,8 +199,6 @@ function Show-RevertSettingsModal {
$revertWindow.Close() $revertWindow.Close()
}) })
& $updateState
$revertWindow.ShowDialog() | Out-Null $revertWindow.ShowDialog() | Out-Null
if ($overlay -and -not $overlayWasAlreadyVisible) { if ($overlay -and -not $overlayWasAlreadyVisible) {