Fixed Spotlight update code.

CQTexperiment
matthewleon 2008-02-16 20:59:04 +00:00
parent e0a937b3e5
commit ab520a8cb8
1 changed files with 4 additions and 3 deletions

View File

@ -45,12 +45,13 @@
return NSDragOperationNone;
}
// Don't update until something has been found
- (NSArray *)arrangeObjects:(NSArray *)objects
{
if(![spotlightWindowController.query isGathering])
self.oldObjects = [super arrangeObjects:objects];
if((![spotlightWindowController.query isGathering]) || ([objects count] > 0))
self.oldObjects = [super arrangeObjects:objects];
return oldObjects;
return self.oldObjects;
}
- (void)dealloc