Changeset 25568
- Timestamp:
- 11/12/2008 02:58:39 AM (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Frameworks/Adium Framework/Source/AIListGroup.m
r25470 r25568 95 95 { 96 96 AIListObject *obj = [self.containedObjects objectAtIndex:index]; 97 if(!obj.visible) 97 if(!obj.visible) { 98 98 AILog(@"Attempted to get visible object at index %i of %@, but %@ is not visible. With contained objects %@, visibility count is %i", index, self, obj, self.containedObjects, self.visibleCount); 99 [self sort]; 100 AIListObject *obj = [self.containedObjects objectAtIndex:index]; 101 if(!obj.visible) 102 AILog(@"Failed to correct for messed up visibleObjectAtIndex by sorting"); 103 else 104 AILog(@"Successfully corrected for messed up visibleObjectAtIndex by sorting"); 105 } 106 99 107 100 108 return obj;