Skip to content

Commit

Permalink
Fixed exception
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingWonders committed Mar 24, 2024
1 parent 9158e12 commit 6799d84
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Panels/Img_Ops/Drivers/ImportDrivers.vb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ Public Class ImportDrivers
MsgBox(msg, vbOKOnly + vbInformation, Label1.Text)
Exit Sub
Else
If DIList(ListView1.FocusedItem.Index).Name = Path.GetPathRoot(Environment.GetFolderPath(Environment.SpecialFolder.Windows)) Then ImportSourceInt = 1
If ListView1.SelectedItems.Count = 1 Then
If DIList(ListView1.FocusedItem.Index).Name = Path.GetPathRoot(Environment.GetFolderPath(Environment.SpecialFolder.Windows)) Then ImportSourceInt = 1
End If
Select Case ImportSourceInt
Case 0
If TextBox1.Text <> "" Then
Expand Down

0 comments on commit 6799d84

Please sign in to comment.