Skip to content

Commit

Permalink
Update MainForm.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
hellzerg committed Feb 12, 2022
1 parent 6930560 commit b5e9661
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lain/Forms/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -690,12 +690,12 @@ private void MainForm_KeyDown(object sender, KeyEventArgs e)
txtSearch.Focus();
}

if (e.Modifiers == Keys.Control && e.KeyCode == Keys.Delete)
if (e.KeyCode == Keys.Delete)
{
removeToolStripMenuItem.PerformClick();
}

if (e.Modifiers == Keys.Control && e.KeyCode == Keys.Enter)
if (e.KeyCode == Keys.Enter)
{
ediToolStripMenuItem.PerformClick();
}
Expand Down

0 comments on commit b5e9661

Please sign in to comment.