[Playlist Menu] Disable actions on empty selection
These actions should not be invoked when there is no selection. Signed-off-by: Christopher Snowhill <kode54@gmail.com>xcode15
parent
af453816a0
commit
3f7b375bfb
|
@ -1770,9 +1770,13 @@ static void *playlistControllerContext = &playlistControllerContext;
|
|||
|
||||
if(action == @selector(addToQueue:)) return NO;
|
||||
|
||||
if(action == @selector(toggleQueued:)) return NO;
|
||||
|
||||
if(action == @selector(searchByArtist:)) return NO;
|
||||
|
||||
if(action == @selector(searchByAlbum:)) return NO;
|
||||
|
||||
if(action == @selector(stopAfterSelection:)) return NO;
|
||||
}
|
||||
|
||||
return YES;
|
||||
|
|
Loading…
Reference in New Issue