X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/8d3dd2ae3b78305f66e06d48770ef24222b7a0ef..fd6a48d1ba3824395c105dbad517daf22e6591c6:/CustomMenuTableView.m diff --git a/CustomMenuTableView.m b/CustomMenuTableView.m new file mode 100755 index 0000000..249e13a --- /dev/null +++ b/CustomMenuTableView.m @@ -0,0 +1,15 @@ +#import "MyTableView.h" +#import "PreferencesController.h" + +@implementation MyTableView + +- (void)keyDown:(NSEvent *)event +{ + if ([[event characters] characterAtIndex:0] == '\177') { + [[PreferencesController sharedPrefs] deletePressedInTableView:self]; + } else { + [super keyDown:event]; + } +} + +@end