aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableContent.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-06-07 11:41:12 +0000
committerBibiko <bibiko@eva.mpg.de>2009-06-07 11:41:12 +0000
commit7ce154492f0e307644b66a3d2410a255345d86db (patch)
treefc8369342465b1d6527edabe49fddb6af2acf734 /Source/TableContent.m
parentab4d3557db6d823275b688ccb7210830f029fd5c (diff)
downloadsequelpro-7ce154492f0e307644b66a3d2410a255345d86db.tar.gz
sequelpro-7ce154492f0e307644b66a3d2410a255345d86db.tar.bz2
sequelpro-7ce154492f0e307644b66a3d2410a255345d86db.zip
• improved "Copy as SQL INSERT" (still hidden - can be tested if the menu item is set to 'not hidden' in the MainMenu)
Diffstat (limited to 'Source/TableContent.m')
-rw-r--r--Source/TableContent.m4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/TableContent.m b/Source/TableContent.m
index c93f4f00..a5e17db4 100644
--- a/Source/TableContent.m
+++ b/Source/TableContent.m
@@ -153,7 +153,9 @@
// of the fieldListForQuery method, and also to decide whether or not to preserve the current filter/sort settings.
theColumns = [tableDataInstance columns];
columnNames = [tableDataInstance columnNames];
-
+
+ [tableContentView setColumnDefinitions:theColumns];
+
// Retrieve the total number of rows of the current table
// to adjustify "Limit From:"
maxNumRowsOfCurrentTable = [[[tableDataInstance statusValues] objectForKey:@"Rows"] intValue];