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

implement missing copyWithZone in FilePriorityCell

This commit is contained in:
Mitchell Livingston 2011-05-19 22:04:46 +00:00
parent 1d989cf9bf
commit c97d1774e4

View file

@ -53,6 +53,13 @@
return self; return self;
} }
- (id) copyWithZone: (NSZone *) zone
{
id value = [super copyWithZone: zone];
[value setRepresentedObject: [self representedObject]];
return value;
}
- (void) setSelected: (BOOL) flag forSegment: (NSInteger) segment - (void) setSelected: (BOOL) flag forSegment: (NSInteger) segment
{ {
[super setSelected: flag forSegment: segment]; [super setSelected: flag forSegment: segment];