Fix for filter

CQTexperiment
vspader 2006-04-30 16:05:39 +00:00
parent f7df23de07
commit d0809c2bdb
3 changed files with 13 additions and 4 deletions

View File

@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>IBDocumentLocation</key>
<string>32 330 617 240 0 0 1024 746 </string>
<string>13 189 617 240 0 0 1024 746 </string>
<key>IBEditorPositions</key>
<dict>
<key>29</key>
@ -29,10 +29,10 @@
<key>IBOpenObjects</key>
<array>
<integer>513</integer>
<integer>823</integer>
<integer>463</integer>
<integer>29</integer>
<integer>21</integer>
<integer>823</integer>
</array>
<key>IBSystem Version</key>
<string>8I127</string>

Binary file not shown.

View File

@ -593,9 +593,18 @@
- (void)setFilterPredicate:(NSPredicate *)filterPredicate
{
[self updateIndexesFromRow:0];
[super setFilterPredicate:filterPredicate];
int j;
for (j = 0; j < [[self content] count]; j++)
{
PlaylistEntry *p;
p = [[self content] objectAtIndex:j];
[p setIndex:-1];
}
[self updateIndexesFromRow:0];
}
- (void)savePlaylist:(NSString *)filename