From 0261432e0704f5afe4067e7288d7845c6c8bb82f Mon Sep 17 00:00:00 2001 From: abhibeckert Date: Sun, 20 Apr 2008 11:09:57 +0000 Subject: 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 --- TableContent.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TableContent.m') 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]; -- cgit v1.2.3