Changeset 10317


Ignore:
Timestamp:
Mar 7, 2010, 2:46:15 AM (12 years ago)
Author:
livings124
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoActivityViewController.m

    r10315 r10317  
    8787        [fDateAddedField setObjectValue: [torrent dateAdded]];
    8888       
     89        BOOL piecesAvailableSegment = [[NSUserDefaults standardUserDefaults] boolForKey: @"PiecesViewShowAvailability"];
     90        [fPiecesControl setSelected: piecesAvailableSegment forSegment: PIECES_CONTROL_AVAILABLE];
     91        [fPiecesControl setSelected: !piecesAvailableSegment forSegment: PIECES_CONTROL_PROGRESS];
     92        [fPiecesControl setEnabled: YES];
    8993        [fPiecesView setTorrent: torrent];
    9094    }
Note: See TracChangeset for help on using the changeset viewer.