aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTablesList.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPTablesList.m')
-rw-r--r--Source/SPTablesList.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPTablesList.m b/Source/SPTablesList.m
index 74523da3..4a57a174 100644
--- a/Source/SPTablesList.m
+++ b/Source/SPTablesList.m
@@ -1634,7 +1634,7 @@ static NSString *SPDuplicateTable = @"SPDuplicateTable";
[textView methodForSelector:command] == [textView methodForSelector:@selector(complete:)] ) {
[control abortEditing];
- [[NSApp mainWindow] makeFirstResponder:tablesListView];
+ [[tablesListView window] makeFirstResponder:tablesListView];
return YES;
} else{