diff --git a/Scripts/GUI/Show-MainWindow.ps1 b/Scripts/GUI/Show-MainWindow.ps1 index bddef40..4d997ca 100644 --- a/Scripts/GUI/Show-MainWindow.ps1 +++ b/Scripts/GUI/Show-MainWindow.ps1 @@ -1863,16 +1863,6 @@ function Show-MainWindow { }) } } - elseif ($isNowIndex -eq 0 -and $wasIndex -gt 0 -and $wasIndex -le $mapping.Values.Count) { - $prevValue = $mapping.Values[$wasIndex - 1] - foreach ($fid in $prevValue.FeatureIds) { - $actions.Add([PSCustomObject]@{ - Action = 'Undo' - FeatureId = [string]$fid - Label = (Get-FeatureLabel -FeatureId $fid) - }) - } - } } } diff --git a/Scripts/GUI/Show-RestoreBackupWindow.ps1 b/Scripts/GUI/Show-RestoreBackupWindow.ps1 index 6fc9c41..a5eaac2 100644 --- a/Scripts/GUI/Show-RestoreBackupWindow.ps1 +++ b/Scripts/GUI/Show-RestoreBackupWindow.ps1 @@ -30,7 +30,7 @@ function Show-RestoreBackupWindow { Write-Host "User confirmed registry restore for $($backup.Target)." Restore-RegistryBackupState -Backup $backup $restoreResult.RestoredRegistry = $true - $successMessage = 'Registry backup restored successfully. Some changes may require a sign out or restart to take effect.' + $successMessage = 'Registry backup restored successfully. Some changes may require a restart to take effect.' } elseif ($dialogResult.Result -eq 'RestoreStartMenu') { $scope = $dialogResult.StartMenuScope