Need to set the controller here or else the gallery won't have any connection.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 26 Nov 2008 01:29:52 +0000 (20:29 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 26 Nov 2008 01:29:52 +0000 (20:29 -0500)
Need to refactor this into a better initializer.

iPhoto2Ansel/TURAnsel.m

index 04d663c..5075b0c 100644 (file)
@@ -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;
     }