mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
allow the pieces grid's type to be changed once again
This commit is contained in:
parent
c1e70f4e17
commit
c83b9c5cb9
1 changed files with 4 additions and 0 deletions
|
@ -86,6 +86,10 @@
|
|||
|
||||
[fDateAddedField setObjectValue: [torrent dateAdded]];
|
||||
|
||||
BOOL piecesAvailableSegment = [[NSUserDefaults standardUserDefaults] boolForKey: @"PiecesViewShowAvailability"];
|
||||
[fPiecesControl setSelected: piecesAvailableSegment forSegment: PIECES_CONTROL_AVAILABLE];
|
||||
[fPiecesControl setSelected: !piecesAvailableSegment forSegment: PIECES_CONTROL_PROGRESS];
|
||||
[fPiecesControl setEnabled: YES];
|
||||
[fPiecesView setTorrent: torrent];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue