mirror of
https://github.com/transmission/transmission.git
synced 2026-04-17 23:54:19 +01:00
since it uses a relative date, set the date added value on each pulse
This commit is contained in:
@@ -142,6 +142,9 @@
|
||||
|
||||
[fDateCompletedField setObjectValue: [torrent dateCompleted]];
|
||||
|
||||
//uses a relative date, so can't be set once
|
||||
[fDateAddedField setObjectValue: [torrent dateAdded]];
|
||||
|
||||
[fDownloadTimeField setStringValue: [NSString timeString: [torrent secondsDownloading] showSeconds: YES]];
|
||||
[fSeedTimeField setStringValue: [NSString timeString: [torrent secondsSeeding] showSeconds: YES]];
|
||||
|
||||
@@ -206,8 +209,6 @@
|
||||
{
|
||||
Torrent * torrent = [fTorrents objectAtIndex: 0];
|
||||
|
||||
[fDateAddedField setObjectValue: [torrent dateAdded]];
|
||||
|
||||
const BOOL piecesAvailableSegment = [[NSUserDefaults standardUserDefaults] boolForKey: @"PiecesViewShowAvailability"];
|
||||
[fPiecesControl setSelected: piecesAvailableSegment forSegment: PIECES_CONTROL_AVAILABLE];
|
||||
[fPiecesControl setSelected: !piecesAvailableSegment forSegment: PIECES_CONTROL_PROGRESS];
|
||||
|
||||
Reference in New Issue
Block a user