fixed select dialog
This commit is contained in:
+2
-2
@@ -1096,7 +1096,7 @@ function Show-MainForm {
|
||||
$saveDialog.FileName = "Drucker_$($env:COMPUTERNAME)_$(Get-Date -Format 'yyyy-MM-dd')"
|
||||
$saveDialog.Title = "Sicherungsdatei speichern"
|
||||
|
||||
if ($saveDialog.ShowDialog() -eq [System.Windows.Forms.DialogResult]::OK) {
|
||||
if ($saveDialog.ShowDialog($form) -eq [System.Windows.Forms.DialogResult]::OK) {
|
||||
$selectedPrinters = @()
|
||||
foreach ($idx in $checkedIndices) {
|
||||
$selectedPrinters += $script:AllPrinterData[$idx]
|
||||
@@ -1142,7 +1142,7 @@ function Show-MainForm {
|
||||
$openDialog.Filter = "Drucker-Sicherung (*.zip)|*.zip|Alle Dateien (*.*)|*.*"
|
||||
$openDialog.Title = "Sicherungsdatei oeffnen"
|
||||
|
||||
if ($openDialog.ShowDialog() -eq [System.Windows.Forms.DialogResult]::OK) {
|
||||
if ($openDialog.ShowDialog($form) -eq [System.Windows.Forms.DialogResult]::OK) {
|
||||
$txtImportPath.Text = $openDialog.FileName
|
||||
|
||||
# Vorherigen Import aufraeumen
|
||||
|
||||
Reference in New Issue
Block a user