a tiny bit of improvement to the tracker tab efficiency
This commit is contained in:
parent
3b2ad86fcf
commit
310e33bece
|
@ -486,6 +486,9 @@ typedef enum
|
|||
break;
|
||||
|
||||
case TAB_TRACKER_TAG:
|
||||
[fTrackers release];
|
||||
fTrackers = nil;
|
||||
|
||||
oldResizeSaveKey = @"InspectorContentHeightTracker";
|
||||
break;
|
||||
|
||||
|
@ -1257,6 +1260,12 @@ typedef enum
|
|||
[fPeers release];
|
||||
fPeers = nil;
|
||||
[fPeerTable reloadData];
|
||||
|
||||
[fTrackers release];
|
||||
fTrackers = nil;
|
||||
|
||||
[fTrackerTable setTrackers: nil];
|
||||
[fTrackerTable reloadData];
|
||||
}
|
||||
|
||||
[fFileController setTorrent: nil];
|
||||
|
@ -1294,12 +1303,6 @@ typedef enum
|
|||
|
||||
[fTrackerTable setTorrent: nil];
|
||||
|
||||
[fTrackers release];
|
||||
fTrackers = nil;
|
||||
|
||||
[fTrackerTable setTrackers: fTrackers];
|
||||
[fTrackerTable reloadData];
|
||||
|
||||
[fTrackerAddRemoveControl setEnabled: NO forSegment: TRACKER_ADD_TAG];
|
||||
[fTrackerAddRemoveControl setEnabled: NO forSegment: TRACKER_REMOVE_TAG];
|
||||
|
||||
|
|
Loading…
Reference in New Issue