aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPBundleEditorController.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-12-15 21:14:41 +0000
committerBibiko <bibiko@eva.mpg.de>2010-12-15 21:14:41 +0000
commit418ab5876c0a278ed0e2b86d5215739f95bc6add (patch)
tree11650833173ca7e65576ffb6b1b07a57e5a11f34 /Source/SPBundleEditorController.m
parent8fe53cf1cdfdc3939b5aea81eda4227d04da2dea (diff)
downloadsequelpro-418ab5876c0a278ed0e2b86d5215739f95bc6add.tar.gz
sequelpro-418ab5876c0a278ed0e2b86d5215739f95bc6add.tar.bz2
sequelpro-418ab5876c0a278ed0e2b86d5215739f95bc6add.zip
• fixed issue to be able to cancel via ESC the in-cell editing of the tablesListView (and avoiding to call completion for Query Editor) and Bundle Editor's outlineView; in addition the focus remains at the view
Diffstat (limited to 'Source/SPBundleEditorController.m')
-rw-r--r--Source/SPBundleEditorController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPBundleEditorController.m b/Source/SPBundleEditorController.m
index dffcb20c..32f5b581 100644
--- a/Source/SPBundleEditorController.m
+++ b/Source/SPBundleEditorController.m
@@ -1257,7 +1257,7 @@
*/
- (BOOL)control:(NSControl *)control textView:(NSTextView *)textView doCommandBySelector:(SEL)command
{
- if ( [[control window] methodForSelector:command] == [[control window] methodForSelector:@selector(_cancelKey:)] ||
+ if ( [[control window] methodForSelector:command] == [[control window] methodForSelector:@selector(cancelOperation:)] ||
[textView methodForSelector:command] == [textView methodForSelector:@selector(complete:)] ) {
//abort editing