From 9ebd1ce780e6a4da5dc796390ed3d1b022e2f886 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Tue, 25 Nov 2008 20:29:52 -0500 Subject: [PATCH] Need to set the controller here or else the gallery won't have any connection. Need to refactor this into a better initializer. --- iPhoto2Ansel/TURAnsel.m | 1 + 1 file changed, 1 insertion(+) diff --git a/iPhoto2Ansel/TURAnsel.m b/iPhoto2Ansel/TURAnsel.m index 04d663c8d..5075b0c55 100644 --- a/iPhoto2Ansel/TURAnsel.m +++ b/iPhoto2Ansel/TURAnsel.m @@ -96,6 +96,7 @@ [NSNumber numberWithInt:0], @"attribute_images", [NSNumber numberWithInt:0], @"attribute_default", nil]; TURAnselGallery *newGallery = [[TURAnselGallery alloc] initWithObject:results]; + [newGallery setAnselController: self]; [galleryList addObject:newGallery]; return results; } -- 2.11.0