aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPNarrowDownCompletion.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-08-01 19:32:27 +0000
committerrowanbeentje <rowan@beent.je>2010-08-01 19:32:27 +0000
commit43a9629aecaf21c37348c81a88f249fc8afe04dd (patch)
tree745d60716a9e748dfdaa436ea51c72fcb0851f26 /Source/SPNarrowDownCompletion.m
parentc2f2a6d1d126e8cb658b745bf5a534ca7307476d (diff)
downloadsequelpro-43a9629aecaf21c37348c81a88f249fc8afe04dd.tar.gz
sequelpro-43a9629aecaf21c37348c81a88f249fc8afe04dd.tar.bz2
sequelpro-43a9629aecaf21c37348c81a88f249fc8afe04dd.zip
Merge in a range of bugfixes from trunk:
r2201, r2470 (Table trigger improvements, and fixes for MySQL <3.23.5x) r2211, r2214, r2232, r2245, r2247, r2265, r2266, r2267, r2280 (User manager fixes) r2213 (Incorrect count display) r2215, r2270, r2283, r2285, r2471 (Thread-safety fixes) r2216 (Task progress indicator fixes) r2217 (CSV import field mapping fix) r2218, r2219 (Custom queries fixes) r2222 (Fix issues when opening files) r2223 (Fixes problems copying binary data as tab-delimited strings) r2224 (Fixes 10.5 not appending correct extension on export) r2225, r2324 (Fixes to background database structure querying, extend structure querying to MySQL 3 & 4) r2227 (Fixes to table saving on right-clicking) r2228 (Memory use fixes) r2272, r2279, r2286, r2398, r2399, r2420 (Favourites sorting) r2275 (Improved handling of corrupt tables, disabled storage engines etc) r2278 (Custom query autocomplete tab snippets not working under 10.5) r2297 (Fix structure editing errors) r2307 (Make return key behaviour in structure view consistent with content view) r2335 (Fix crashes when cancelling/stopping queries on MySQL 3 & 4) r2345 (Import from clipboard improvements) r2362 (Improve robustness when closing windows quickly) r2384 (Respect "Reload after editing" preference when editing custom query results) r2385 (Prevent custom query uppercasing of reserved keywords which are quoted) r2396 (Improve reordering of TIMESTAMP fields) r2411, r2444, r2446 (Improve Xcode 3.2.3 project compatibility) r2438 (Fix exceptions printing extended table info) r2441 (Fix resizing table information after initial collapsed state) r2445 (Improve default socket search paths) r2463 (Fix custom query capturing up/down arrow when autocomplete finds no matches) r2479, r2482 (Replace Core Animation with custom code to fix hangs) r2486 (Improve data storage exceptions)
Diffstat (limited to 'Source/SPNarrowDownCompletion.m')
-rw-r--r--Source/SPNarrowDownCompletion.m8
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/SPNarrowDownCompletion.m b/Source/SPNarrowDownCompletion.m
index 1ac2118c..4ea34496 100644
--- a/Source/SPNarrowDownCompletion.m
+++ b/Source/SPNarrowDownCompletion.m
@@ -750,8 +750,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