Changeset 12418


Ignore:
Timestamp:
May 9, 2011, 2:13:39 AM (10 years ago)
Author:
livings124
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/FileOutlineController.m

    r11762 r12418  
    212212    NSString * ident = [tableColumn identifier];
    213213    if ([ident isEqualToString: @"Name"])
    214         return [fTorrent fileLocation: item];
     214    {
     215        NSString * path = [fTorrent fileLocation: item];
     216        if (!path)
     217            path = [[item path] stringByAppendingPathComponent: [item name]];
     218        return path;
     219    }
    215220    else if ([ident isEqualToString: @"Check"])
    216221    {
Note: See TracChangeset for help on using the changeset viewer.