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
1 changed files with 2 additions and 0 deletions

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