1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-27 01:57:52 +00:00

allow the pieces grid's type to be changed once again

This commit is contained in:
Mitchell Livingston 2010-03-07 02:46:15 +00:00
parent c1e70f4e17
commit c83b9c5cb9

View file

@ -86,6 +86,10 @@
[fDateAddedField setObjectValue: [torrent dateAdded]]; [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]; [fPiecesView setTorrent: torrent];
} }
} }