aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTablesList.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-12-17 21:46:35 +0000
committerstuconnolly <stuart02@gmail.com>2010-12-17 21:46:35 +0000
commit2bb0262375af1ca9a0a31943e1982b2b3cb7ae56 (patch)
treef140d93c8674fa3658e168e057b070143a2795cc /Source/SPTablesList.m
parent2f1146de80e658021e6a0fc63a20b039f73cca06 (diff)
parent072a730f22e3c06fed48acf31ac5708259c93a32 (diff)
downloadsequelpro-2bb0262375af1ca9a0a31943e1982b2b3cb7ae56.tar.gz
sequelpro-2bb0262375af1ca9a0a31943e1982b2b3cb7ae56.tar.bz2
sequelpro-2bb0262375af1ca9a0a31943e1982b2b3cb7ae56.zip
Bring outline view branch up to date with trunk (r3030:3035).
Diffstat (limited to 'Source/SPTablesList.m')
-rw-r--r--Source/SPTablesList.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPTablesList.m b/Source/SPTablesList.m
index 54e0f400..da787a6d 100644
--- a/Source/SPTablesList.m
+++ b/Source/SPTablesList.m
@@ -1358,11 +1358,12 @@
[[control window] makeFirstResponder:control];
return TRUE;
- } else if ( [[control window] methodForSelector:command] == [[control window] methodForSelector:@selector(_cancelKey:)] ||
+ } else if ( [[control window] methodForSelector:command] == [[control window] methodForSelector:@selector(cancelOperation:)] ||
[textView methodForSelector:command] == [textView methodForSelector:@selector(complete:)] ) {
//abort editing
[control abortEditing];
+ [[NSApp mainWindow] makeFirstResponder:tablesListView];
return TRUE;
} else{