mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
pressing the esc key with focus on the main table will deselect all
This commit is contained in:
parent
4c5aef91a9
commit
974034be81
1 changed files with 2 additions and 0 deletions
|
@ -534,6 +534,8 @@
|
||||||
[fController focusFilterField];
|
[fController focusFilterField];
|
||||||
else if (firstChar == ' ')
|
else if (firstChar == ' ')
|
||||||
[fController toggleQuickLook: nil];
|
[fController toggleQuickLook: nil];
|
||||||
|
else if ([event keyCode] == 53) //esc key
|
||||||
|
[self deselectAll: nil];
|
||||||
else
|
else
|
||||||
[super keyDown: event];
|
[super keyDown: event];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue