pressing the esc key with focus on the main table will deselect all
authorMitchell Livingston <livings124@transmissionbt.com>
Thu, 4 Aug 2011 02:04:25 +0000 (02:04 +0000)
committerMitchell Livingston <livings124@transmissionbt.com>
Thu, 4 Aug 2011 02:04:25 +0000 (02:04 +0000)
macosx/TorrentTableView.m

index dd929846a2a47d7f8313dedb39387e94d5aba9f2..b71f3601c430ac785d00e149ab77b57683ff1b55 100644 (file)
         [fController focusFilterField];
     else if (firstChar == ' ')
         [fController toggleQuickLook: nil];
+    else if ([event keyCode] == 53) //esc key
+        [self deselectAll: nil];
     else
         [super keyDown: event];
 }