Skip to content

Commit

Permalink
Close popup Mounted Image Manager with key press
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingWonders committed Apr 12, 2024
1 parent 4f6c78f commit b49bb8b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Binary file modified Installer/Output/dt_setup.exe
Binary file not shown.
1 change: 1 addition & 0 deletions Panels/PopupDlgs/PopupImageManager.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Panels/PopupDlgs/PopupImageManager.vb
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,10 @@ Public Class PopupImageManager
Private Sub PopupImageManager_FormClosing(sender As Object, e As FormClosingEventArgs) Handles MyBase.FormClosing
MountedImgMgr.Close()
End Sub

Private Sub PopupImageManager_KeyDown(sender As Object, e As KeyEventArgs) Handles MyBase.KeyDown
If e.KeyCode = Keys.Escape Then
Button2.PerformClick()
End If
End Sub
End Class

0 comments on commit b49bb8b

Please sign in to comment.