Fix shutdown action so it removes the playlist filter before saving the playlist
This commit is contained in:
parent
d51ca224f5
commit
cadb54b454
1 changed files with 2 additions and 0 deletions
|
@ -350,6 +350,8 @@ void* kAppControllerContext = &kAppControllerContext;
|
||||||
[fileManager createDirectoryAtPath: folder withIntermediateDirectories:NO attributes:nil error:nil];
|
[fileManager createDirectoryAtPath: folder withIntermediateDirectories:NO attributes:nil error:nil];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[playlistController clearFilterPredicate:self];
|
||||||
|
|
||||||
NSString * fileName = @"Default.xml";
|
NSString * fileName = @"Default.xml";
|
||||||
|
|
||||||
[playlistLoader saveXml:[folder stringByAppendingPathComponent: fileName]];
|
[playlistLoader saveXml:[folder stringByAppendingPathComponent: fileName]];
|
||||||
|
|
Loading…
Reference in a new issue