aboutsummaryrefslogtreecommitdiffstats
path: root/TableContent.m
diff options
context:
space:
mode:
authorabhibeckert <abhi@abhibeckert.com>2008-04-20 11:09:57 +0000
committerabhibeckert <abhi@abhibeckert.com>2008-04-20 11:09:57 +0000
commit0261432e0704f5afe4067e7288d7845c6c8bb82f (patch)
tree4ee93fa9779fa84d13fbf977996937a44b37bae4 /TableContent.m
parent385af2eacdcceb9160d787539380d921919f3d99 (diff)
downloadsequelpro-0261432e0704f5afe4067e7288d7845c6c8bb82f.tar.gz
sequelpro-0261432e0704f5afe4067e7288d7845c6c8bb82f.tar.bz2
sequelpro-0261432e0704f5afe4067e7288d7845c6c8bb82f.zip
refactor encoding system
refactor menu validation move database action buttons into a new "Database" menu pretty up the table select view and it's action buttons
Diffstat (limited to 'TableContent.m')
-rw-r--r--TableContent.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/TableContent.m b/TableContent.m
index 9b2e3b27..f26f12b7 100644
--- a/TableContent.m
+++ b/TableContent.m
@@ -678,7 +678,7 @@ saves a file containing the content of the editSheet
}
if ( [editData respondsToSelector:@selector(writeToFile:atomically:encoding:error:)] ) {
// mac os 10.4 or later
- [editData writeToFile:fileName atomically:YES encoding:[CMMCPConnection encodingForMySQLEncoding:[[tableDocumentInstance getSelectedEncoding] cString]] error:errorStr];
+ [editData writeToFile:fileName atomically:YES encoding:[CMMCPConnection encodingForMySQLEncoding:[[tableDocumentInstance encoding] cString]] error:errorStr];
} else {
// mac os pre 10.4
[editData writeToFile:fileName atomically:YES];