Fixed the state for the playlists menu item to show the currently playing playlist.
[MenuTunes.git] / CustomMenuTableView.m
1 #import "CustomMenuTableView.h"
2 #import "PreferencesController.h"
3
4 @implementation CustomMenuTableView
5
6 - (void)keyDown:(NSEvent *)event
7 {
8     if ([[event characters] characterAtIndex:0] == '\177') {
9         [[PreferencesController sharedPrefs] deletePressedInTableView:self];
10     } else {
11         [super keyDown:event];
12     }
13 }
14
15 @end