Forgot to add these files.
[MenuTunes.git] / CustomMenuTableView.m
diff --git a/CustomMenuTableView.m b/CustomMenuTableView.m
new file mode 100755 (executable)
index 0000000..249e13a
--- /dev/null
@@ -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