make sure a info tab is loaded the first time it's shown

This commit is contained in:
Mitchell Livingston
2010-03-07 01:40:32 +00:00
parent 7bf62b1311
commit 41f29d45eb
7 changed files with 165 additions and 203 deletions

View File

@@ -451,7 +451,6 @@
fPeers = nil;
[fPeerTable reloadData];
#warning should be reset when != to 1?
[fConnectedPeersField setStringValue: @""];
}
else
@@ -552,7 +551,7 @@
//sort by IP after primary sort
if (useSecond)
{
#warning when 10.6-only, replate with sortDescriptorWithKey:ascending:selector:
#warning when 10.6-only, replace with sortDescriptorWithKey:ascending:selector:
NSSortDescriptor * secondDescriptor = [[NSSortDescriptor alloc] initWithKey: @"IP" ascending: asc
selector: @selector(compareNumeric:)];
[descriptors addObject: secondDescriptor];