aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/TableDocument.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m
index f8c0fe69..2d15e4e2 100644
--- a/Source/TableDocument.m
+++ b/Source/TableDocument.m
@@ -1760,12 +1760,15 @@
[createTableSyntaxTextView insertText:([tablesListInstance tableType] == SP_TABLETYPE_VIEW) ? [tableSyntax createViewSyntaxPrettifier] : tableSyntax];
[createTableSyntaxTextView setEditable:NO];
+ [createTableSyntaxWindow makeFirstResponder:createTableSyntaxTextField];
+
// Show variables sheet
[NSApp beginSheet:createTableSyntaxWindow
modalForWindow:tableWindow
modalDelegate:self
didEndSelector:nil
contextInfo:nil];
+
}
/**