From c97d1774e49515f99a10a672a4ed7f24a7bed0a2 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Thu, 19 May 2011 22:04:46 +0000 Subject: [PATCH] implement missing copyWithZone in FilePriorityCell --- macosx/FilePriorityCell.m | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/macosx/FilePriorityCell.m b/macosx/FilePriorityCell.m index 1c332556c..16825b433 100644 --- a/macosx/FilePriorityCell.m +++ b/macosx/FilePriorityCell.m @@ -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]; -- 2.40.0