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
1 changed files with 4 additions and 0 deletions

View File

@ -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];
}
}