From: Michael J. Rubinsky Date: Wed, 26 Nov 2008 01:29:52 +0000 (-0500) Subject: Need to set the controller here or else the gallery won't have any connection. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=9ebd1ce780e6a4da5dc796390ed3d1b022e2f886;p=horde.git Need to set the controller here or else the gallery won't have any connection. Need to refactor this into a better initializer. --- 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; }