Fixed Spotlight update code.
parent
e0a937b3e5
commit
ab520a8cb8
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue