diff --git a/English.lproj/MainMenu.nib/info.nib b/English.lproj/MainMenu.nib/info.nib index 237d6cfe6..69f61cacc 100644 --- a/English.lproj/MainMenu.nib/info.nib +++ b/English.lproj/MainMenu.nib/info.nib @@ -28,11 +28,11 @@ 3 IBOpenObjects - 513 463 21 823 29 + 513 IBSystem Version 8I127 diff --git a/English.lproj/MainMenu.nib/keyedobjects.nib b/English.lproj/MainMenu.nib/keyedobjects.nib index ea7874d3b..46f38151e 100644 Binary files a/English.lproj/MainMenu.nib/keyedobjects.nib and b/English.lproj/MainMenu.nib/keyedobjects.nib differ diff --git a/Playlist/PlaylistController.m b/Playlist/PlaylistController.m index 17cd24634..14df6f49e 100644 --- a/Playlist/PlaylistController.m +++ b/Playlist/PlaylistController.m @@ -323,8 +323,11 @@ - (void)sortByPath { + [self setSortDescriptors:nil]; + NSSortDescriptor *s = [[NSSortDescriptor alloc] initWithKey:@"filename" ascending:YES selector:@selector(compare:)]; - [self setSortDescriptors:[NSArray arrayWithObject:s]]; + // [self setSortDescriptors:[NSArray arrayWithObject:s]]; + [self setContent:[[self content] sortedArrayUsingDescriptors:[NSArray arrayWithObject:s]]]; [s release]; if (shuffle == YES) @@ -336,6 +339,7 @@ - (void)randomizeList { [self setSortDescriptors:nil]; + [self setContent:[Shuffle shuffleList:[self content]]]; if (shuffle == YES) [self resetShuffleList];