mirror of
https://github.com/transmission/transmission
synced 2024-12-26 09:37:56 +00:00
implement missing copyWithZone in FilePriorityCell
This commit is contained in:
parent
1d989cf9bf
commit
c97d1774e4
1 changed files with 7 additions and 0 deletions
|
@ -53,6 +53,13 @@
|
|||
return self;
|
||||
}
|
||||
|
||||
- (id) copyWithZone: (NSZone *) zone
|
||||
{
|
||||
id value = [super copyWithZone: zone];
|
||||
[value setRepresentedObject: [self representedObject]];
|
||||
return value;
|
||||
}
|
||||
|
||||
- (void) setSelected: (BOOL) flag forSegment: (NSInteger) segment
|
||||
{
|
||||
[super setSelected: flag forSegment: segment];
|
||||
|
|
Loading…
Reference in a new issue