aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableContent.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2009-02-28 02:03:50 +0000
committerstuconnolly <stuart02@gmail.com>2009-02-28 02:03:50 +0000
commit52784a1b02f5ff32bc8d9661d948d2ebee93f610 (patch)
treef2e8250e7204613805e742cdce609f8c10106d82 /Source/TableContent.m
parent2ca51225df3ee5badc4029761db3f32a68bfb140 (diff)
downloadsequelpro-52784a1b02f5ff32bc8d9661d948d2ebee93f610.tar.gz
sequelpro-52784a1b02f5ff32bc8d9661d948d2ebee93f610.tar.bz2
sequelpro-52784a1b02f5ff32bc8d9661d948d2ebee93f610.zip
+ Separate the console from being drawer based to its own panel. New console panel also adds the ability to save the current console content to a file on disk. Speed up the updating of the text view by removing the re-draw of the view after each message is appended. The console is still very basic, but is a starting point for more functionality to be added now that it is all handled in a single class.
+ Add the ability to specify the encoding when creating a new database. Addresses issue #125. Also improve the usability of the create database sheet by only enabling the 'Add' button if the database name length is greater than zero. This elimates the check that is done and the error panel that is displayed if the name is empty.
Diffstat (limited to 'Source/TableContent.m')
-rw-r--r--Source/TableContent.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/TableContent.m b/Source/TableContent.m
index 3baf5713..c2db04c2 100644
--- a/Source/TableContent.m
+++ b/Source/TableContent.m
@@ -29,7 +29,7 @@
#import "CMImageView.h"
#import "SPDataCellFormatter.h"
#import "SPTableData.h"
-
+#import "SPQueryConsole.h"
@implementation TableContent
@@ -1183,7 +1183,7 @@
[filteredResult replaceObjectAtIndex:rowIndex withObject:[NSMutableDictionary dictionaryWithDictionary:oldRow]];
isEditingRow = NO;
isEditingNewRow = NO;
- [tableDocumentInstance showErrorInConsole:[NSString stringWithFormat:NSLocalizedString(@"/* WARNING %@ No rows have been affected */\n", @"warning shown in the console when no rows have been affected after writing to the db"), currentTime]];
+ [queryConsoleInstance showErrorInConsole:[NSString stringWithFormat:NSLocalizedString(@"/* WARNING %@ No rows have been affected */\n", @"warning shown in the console when no rows have been affected after writing to the db"), currentTime]];
return YES;
// On success...