Skip to content

Commit

Permalink
Switched KeyDown event to KeyUp to handle only finished hotkey combin…
Browse files Browse the repository at this point in the history
…ation.
  • Loading branch information
xvitaly committed Aug 30, 2024
1 parent 095c23a commit 24f8909
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/srcrepair/FrmCleaner.Designer.cs

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

4 changes: 2 additions & 2 deletions src/srcrepair/FrmCleaner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -433,11 +433,11 @@ private async void FrmCleaner_Load(object sender, EventArgs e)
}

/// <summary>
/// "On key down" event handler.
/// "On key up" event handler.
/// </summary>
/// <param name="sender">Sender object.</param>
/// <param name="e">Event arguments.</param>
private void CM_FTable_KeyDown(object sender, KeyEventArgs e)
private void CM_FTable_KeyUp(object sender, KeyEventArgs e)
{
if (!IsRunning && e.Control)
{
Expand Down

0 comments on commit 24f8909

Please sign in to comment.