diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-06-07 21:40:06 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-06-07 21:40:06 +0000 |
commit | da1616e9c31fd922fef7ed567a28dfdd788bcb0c (patch) | |
tree | b2f1fb8a59bbcb7422838feae04b9c5327446ee0 /Source/TableContent.m | |
parent | 7ce154492f0e307644b66a3d2410a255345d86db (diff) | |
download | sequelpro-da1616e9c31fd922fef7ed567a28dfdd788bcb0c.tar.gz sequelpro-da1616e9c31fd922fef7ed567a28dfdd788bcb0c.tar.bz2 sequelpro-da1616e9c31fd922fef7ed567a28dfdd788bcb0c.zip |
• improved "Copy as SQL INSERT" (still hidden)
• disabled "Copy with Column Names" if Custom Query editor is active
Diffstat (limited to 'Source/TableContent.m')
-rw-r--r-- | Source/TableContent.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/TableContent.m b/Source/TableContent.m index a5e17db4..7c548307 100644 --- a/Source/TableContent.m +++ b/Source/TableContent.m @@ -154,7 +154,8 @@ theColumns = [tableDataInstance columns]; columnNames = [tableDataInstance columnNames]; - [tableContentView setColumnDefinitions:theColumns]; + // Init copyTable with necessary information for copying selected rows as SQL INSERT + [tableContentView setTableInfoWithColumns:theColumns withTable:selectedTable]; // Retrieve the total number of rows of the current table // to adjustify "Limit From:" |