Add ability to export/import settings configuration (#522)

This commit is contained in:
Jeffrey
2026-03-27 20:33:24 +01:00
committed by GitHub
parent e05af92acc
commit 774c8ecd92
15 changed files with 726 additions and 31 deletions

View File

@@ -242,13 +242,16 @@ function Show-ApplyModal {
})
# Show dialog
$applyWindow.ShowDialog() | Out-Null
# Hide overlay after dialog closes
if ($overlay) {
try {
$ownerWindow.Dispatcher.Invoke([action]{ $overlay.Visibility = 'Collapsed' })
try {
$applyWindow.ShowDialog() | Out-Null
}
finally {
# Hide overlay after dialog closes
if ($overlay) {
try {
$ownerWindow.Dispatcher.Invoke([action]{ $overlay.Visibility = 'Collapsed' })
}
catch { }
}
catch { }
}
}