mirror of
https://github.com/transmission/transmission
synced 2024-12-27 18:18:10 +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;
|
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];
|
||||||
|
|
Loading…
Reference in a new issue