aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/TableDocument.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m
index d710caa1..9f1b0fa9 100644
--- a/Source/TableDocument.m
+++ b/Source/TableDocument.m
@@ -1308,11 +1308,11 @@ NSString *TableDocumentFavoritesControllerSelectionIndexDidChange = @"TableDocum
if ([tableSyntax isKindOfClass:[NSData class]])
tableSyntax = [[NSString alloc] initWithData:tableSyntax encoding:[mySQLConnection encoding]];
- [syntaxViewContent setEditable:YES];
if([tablesListInstance tableType] == SP_TABLETYPE_VIEW)
[syntaxViewContent setString:[tableSyntax createViewSyntaxPrettifier]];
else
[syntaxViewContent setString:tableSyntax];
+
[syntaxViewContent setEditable:NO];
[createTableSyntaxWindow setTitle:createWindowTitle];