mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
fixed #5984: Make sure only ctrl + a key is down
This commit is contained in:
parent
6588d9c013
commit
f45586a208
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ public static void SupportSelectAll(this TextBox tb)
|
|||
{
|
||||
tb.KeyDown += (sender, e) =>
|
||||
{
|
||||
if (e.Control && e.KeyCode == Keys.A)
|
||||
if (e.KeyData == (Keys.Control | Keys.A))
|
||||
{
|
||||
tb.SelectAll();
|
||||
e.SuppressKeyPress = true;
|
||||
|
|
Loading…
Reference in a new issue