1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 16:52:39 +00:00

pressing the esc key with focus on the main table will deselect all

This commit is contained in:
Mitchell Livingston 2011-08-04 02:04:25 +00:00
parent 4c5aef91a9
commit 974034be81

View file

@ -534,6 +534,8 @@
[fController focusFilterField];
else if (firstChar == ' ')
[fController toggleQuickLook: nil];
else if ([event keyCode] == 53) //esc key
[self deselectAll: nil];
else
[super keyDown: event];
}