1
0
Fork 0
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:
Mitchell Livingston 2011-08-04 02:04:25 +00:00
parent 4c5aef91a9
commit 974034be81

View file

@ -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];
} }