diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-06-26 09:06:36 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-06-26 09:06:36 +0000 |
commit | 407aea899420ca2a6c1a0d3d80b89f70cb2cc74f (patch) | |
tree | f0c5bf775ec1f5b75d4bbdb5c88063aa8e59786d /Source/TableDocument.m | |
parent | 3417a7e59c8146d0c1f80b7190cc113db71300f6 (diff) | |
download | sequelpro-407aea899420ca2a6c1a0d3d80b89f70cb2cc74f.tar.gz sequelpro-407aea899420ca2a6c1a0d3d80b89f70cb2cc74f.tar.bz2 sequelpro-407aea899420ca2a6c1a0d3d80b89f70cb2cc74f.zip |
• fixes for Create Syntax HUD window:
- added minimum size to avoid overlapping context and header
- now keyboard, mouse events are working for scrolling
- bound font to CustomQueryEditorFont
• removed tiny double code in TableDocument
Diffstat (limited to 'Source/TableDocument.m')
-rw-r--r-- | Source/TableDocument.m | 2 |
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]; |