#4232 Extend tooltip support to disabled files in Inspector->Files

This commit is contained in:
Mitchell Livingston
2011-05-09 02:13:39 +00:00
parent 3269d99287
commit 56d56a2e19

View File

@@ -211,7 +211,12 @@ typedef enum
{
NSString * ident = [tableColumn identifier];
if ([ident isEqualToString: @"Name"])
return [fTorrent fileLocation: item];
{
NSString * path = [fTorrent fileLocation: item];
if (!path)
path = [[item path] stringByAppendingPathComponent: [item name]];
return path;
}
else if ([ident isEqualToString: @"Check"])
{
switch ([cell state])