Skip to content

Commit

Permalink
ADDED: Allow Ctrl-A to select all items in Unpack package listing.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeqMacaw committed Dec 2, 2020
1 parent 8e3d12b commit e54a3af
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Crowbar/Widgets/Main Tabs/UnpackUserControl.vb
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,16 @@ Public Class UnpackUserControl
' End If
'End Sub

Private Sub PackageListView_KeyDown(sender As Object, e As KeyEventArgs) Handles PackageListView.KeyDown
If e.KeyCode = Keys.A And e.Control Then
Me.PackageListView.BeginUpdate()
For Each i As ListViewItem In Me.PackageListView.Items
i.Selected = True
Next
Me.PackageListView.EndUpdate()
End If
End Sub

Private Sub PackageListView_SelectedIndexChanged(sender As Object, e As EventArgs) Handles PackageListView.SelectedIndexChanged
Me.UpdateSelectionCounts()
End Sub
Expand Down

0 comments on commit e54a3af

Please sign in to comment.