Update file icon when its name changes (Mac client)
This commit is contained in:
parent
ecd1eb7914
commit
63b6c11602
|
@ -131,6 +131,8 @@
|
|||
{
|
||||
[fName release];
|
||||
fName = [newName copy];
|
||||
[fIcon release];
|
||||
fIcon = nil;
|
||||
return YES;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1968,6 +1968,9 @@ bool trashDataFile(const char * filename, tr_error ** error)
|
|||
[fFlatFileList release];
|
||||
[self sortFileList: flatFileList];
|
||||
fFlatFileList = flatFileList;
|
||||
|
||||
[fIcon release];
|
||||
fIcon = nil;
|
||||
}
|
||||
else
|
||||
NSLog(@"Error renaming %@ to %@", oldPath, [path stringByAppendingPathComponent: newName]);
|
||||
|
|
Loading…
Reference in New Issue