Skip to content

Commit

Permalink
Fixed image info saver exception
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingWonders committed Nov 13, 2023
1 parent 07b1f43 commit a36fb90
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
Binary file modified Installer/Output/dt_setup.exe
Binary file not shown.
14 changes: 8 additions & 6 deletions MainForm.vb
Original file line number Diff line number Diff line change
Expand Up @@ -12209,12 +12209,14 @@ Public Class MainForm
If ImgInfoSFD.ShowDialog() = Windows.Forms.DialogResult.OK Then
If Not ImgInfoSaveDlg.IsDisposed Then ImgInfoSaveDlg.Dispose()
ImgInfoSaveDlg.SaveTarget = ImgInfoSFD.FileName
For x = 0 To Array.LastIndexOf(MountedImageMountDirs, MountedImageMountDirs.Last)
If MountedImageMountDirs(x) = MountDir Then
ImgInfoSaveDlg.SourceImage = MountedImageImgFiles(x)
Exit For
End If
Next
If MountedImageMountDirs.Count > 0 Then
For x = 0 To Array.LastIndexOf(MountedImageMountDirs, MountedImageMountDirs.Last)
If MountedImageMountDirs(x) = MountDir Then
ImgInfoSaveDlg.SourceImage = MountedImageImgFiles(x)
Exit For
End If
Next
End If
ImgInfoSaveDlg.ImgMountDir = If(Not OnlineManagement, MountDir, "")
ImgInfoSaveDlg.OnlineMode = OnlineManagement
ImgInfoSaveDlg.AllDrivers = AllDrivers
Expand Down

0 comments on commit a36fb90

Please sign in to comment.