Add number of files below info's file table.
This commit is contained in:
parent
604273f0e8
commit
4690f987f9
|
@ -25,6 +25,7 @@
|
||||||
fDownloadedValidField = NSTextField;
|
fDownloadedValidField = NSTextField;
|
||||||
fDownloadingFromField = NSTextField;
|
fDownloadingFromField = NSTextField;
|
||||||
fFileTable = NSTableView;
|
fFileTable = NSTableView;
|
||||||
|
fFileTableStatusField = NSTextField;
|
||||||
fHashField = NSTextField;
|
fHashField = NSTextField;
|
||||||
fImageView = NSImageView;
|
fImageView = NSImageView;
|
||||||
fLeechersField = NSTextField;
|
fLeechersField = NSTextField;
|
||||||
|
|
Binary file not shown.
|
@ -48,6 +48,7 @@
|
||||||
IBOutlet NSTextField * fPeerTableStatusField;
|
IBOutlet NSTextField * fPeerTableStatusField;
|
||||||
|
|
||||||
IBOutlet NSTableView * fFileTable;
|
IBOutlet NSTableView * fFileTable;
|
||||||
|
IBOutlet NSTextField * fFileTableStatusField;
|
||||||
|
|
||||||
IBOutlet NSMatrix * fRatioMatrix;
|
IBOutlet NSMatrix * fRatioMatrix;
|
||||||
IBOutlet NSTextField * fRatioLimitField;
|
IBOutlet NSTextField * fRatioLimitField;
|
||||||
|
|
|
@ -220,6 +220,9 @@
|
||||||
|
|
||||||
[fFileTable deselectAll: nil];
|
[fFileTable deselectAll: nil];
|
||||||
[fFileTable reloadData];
|
[fFileTable reloadData];
|
||||||
|
|
||||||
|
[fFileTableStatusField setStringValue: [NSString stringWithFormat: @"%d file%s", [fFiles count],
|
||||||
|
[fFiles count] == 1 ? "" : "s"]];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) updateInfoStats
|
- (void) updateInfoStats
|
||||||
|
|
Loading…
Reference in New Issue