Changeset 13159


Ignore:
Timestamp:
Jan 14, 2012, 4:06:39 PM (10 years ago)
Author:
livings124
Message:

consider the corresponding torrent when comparing tracker nodes

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoTrackersViewController.m

    r13158 r13159  
    117117        [fTrackerTable setTrackers: fTrackers];
    118118       
    119         if ([NSApp isOnLionOrBetter] && [fTrackers isEqualToArray: oldTrackers])
     119        if ([NSApp isOnLionOrBetter] && (oldTrackers && [fTrackers isEqualToArray: oldTrackers]))
    120120            [fTrackerTable setNeedsDisplay: YES];
    121121        else
  • trunk/macosx/TrackerNode.m

    r13158 r13159  
    5656   
    5757    if (![object isKindOfClass: [self class]])
     58        return NO;
     59   
     60    if ([self torrent] != [object torrent])
    5861        return NO;
    5962   
Note: See TracChangeset for help on using the changeset viewer.