aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/SPNarrowDownCompletion.m8
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/SPNarrowDownCompletion.m b/Source/SPNarrowDownCompletion.m
index eaa3c43c..508df857 100644
--- a/Source/SPNarrowDownCompletion.m
+++ b/Source/SPNarrowDownCompletion.m
@@ -749,8 +749,12 @@
- (void)orderFront:(id)sender
{
[self filter];
- [super orderFront:sender];
- [self performSelector:@selector(watchUserEvents) withObject:nil afterDelay:0.05];
+ if (!closeMe) {
+ [super orderFront:sender];
+ [self performSelector:@selector(watchUserEvents) withObject:nil afterDelay:0.05];
+ } else {
+ [self close];
+ }
}
- (void)watchUserEvents