Skip to content

Commit

Permalink
Add workaround for #114
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingWonders committed Apr 27, 2024
1 parent 4910d97 commit 8eff011
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Panels/Get_Ops/AppxPkgs/GetAppxPkgInfo.vb
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ Public Class GetAppxPkgInfoDlg
ListBox1.Items.Add(PackageName)
Next
' An empty entry will appear, so remove it
ListBox1.Items.RemoveAt(ListBox1.Items.Count - 1)
If ListBox1.Items.Count > 0 Then ListBox1.Items.RemoveAt(ListBox1.Items.Count - 1)
SearchPanel.Visible = False
Else
For Each InstalledAppxPkg As DismAppxPackage In InstalledAppxPkgInfo
Expand All @@ -217,7 +217,7 @@ Public Class GetAppxPkgInfoDlg
ListBox1.Items.Add(PackageName)
Next
' An empty entry will appear, so remove it
ListBox1.Items.RemoveAt(ListBox1.Items.Count - 1)
If ListBox1.Items.Count > 0 Then ListBox1.Items.RemoveAt(ListBox1.Items.Count - 1)
SearchPanel.Visible = False
End If
SearchBox1.Text = ""
Expand Down

0 comments on commit 8eff011

Please sign in to comment.