diff options
author | rowanbeentje <rowan@beent.je> | 2010-07-17 16:32:28 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-07-17 16:32:28 +0000 |
commit | 8f5362b01faf105b6ff8d1cafaccf5a72560d7e9 (patch) | |
tree | 2e24f1ebcc1a00fbef53cbdcdfc636b0a5c7ac57 | |
parent | d197a5157f815845e2a709d2c942c707758901ee (diff) | |
download | sequelpro-8f5362b01faf105b6ff8d1cafaccf5a72560d7e9.tar.gz sequelpro-8f5362b01faf105b6ff8d1cafaccf5a72560d7e9.tar.bz2 sequelpro-8f5362b01faf105b6ff8d1cafaccf5a72560d7e9.zip |
- Tweak custom query autocompletion to no longer show a key-capturing invisible empty autocomplete when no autocomplete matches are found
-rw-r--r-- | Source/SPNarrowDownCompletion.m | 8 |
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 |