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; return NSDragOperationNone;
} }
// Don't update until something has been found
- (NSArray *)arrangeObjects:(NSArray *)objects - (NSArray *)arrangeObjects:(NSArray *)objects
{ {
if(![spotlightWindowController.query isGathering]) if((![spotlightWindowController.query isGathering]) || ([objects count] > 0))
self.oldObjects = [super arrangeObjects:objects]; self.oldObjects = [super arrangeObjects:objects];
return oldObjects; return self.oldObjects;
} }
- (void)dealloc - (void)dealloc