From 9d46c688ed3e25343b98a2af0d5090833ac93189 Mon Sep 17 00:00:00 2001 From: Daniel Stolzenberg Date: Fri, 5 Nov 2010 15:02:31 +0100 Subject: [PATCH] fixed support for "contentSet" in CPArrayController.j, where sets were not converted to arrays --- AppKit/CPArrayController.j | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AppKit/CPArrayController.j b/AppKit/CPArrayController.j index 0574d66cd..879cfd3ce 100644 --- a/AppKit/CPArrayController.j +++ b/AppKit/CPArrayController.j @@ -205,7 +205,7 @@ - (void)_setContentSet:(id)aSet { - [self setContent:aSet]; + [self setContent:[aSet allObjects]]; } - (id)contentArray @@ -215,7 +215,7 @@ - (id)contentSet { - return [self content]; + return [CPSet setWithArray:[self content]]; } - (CPArray)arrangeObjects:(CPArray)objects