diff options
author | dmoagx <post@wickenrode.com> | 2012-03-16 20:19:17 +0000 |
---|---|---|
committer | dmoagx <post@wickenrode.com> | 2012-03-16 20:19:17 +0000 |
commit | 8886d935e933c6239aa9b35e900d96f7d07527c7 (patch) | |
tree | 20093287366272e0e7b234f863e69e5a236a8f00 /Source/SPExtendedTableInfo.m | |
parent | ab3d4cc4fcc42283cebc1062729512d85e9db620 (diff) | |
download | sequelpro-8886d935e933c6239aa9b35e900d96f7d07527c7.tar.gz sequelpro-8886d935e933c6239aa9b35e900d96f7d07527c7.tar.bz2 sequelpro-8886d935e933c6239aa9b35e900d96f7d07527c7.zip |
* Moves the background color code for SPTextView into the class. Fixes #1073
Diffstat (limited to 'Source/SPExtendedTableInfo.m')
-rw-r--r-- | Source/SPExtendedTableInfo.m | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Source/SPExtendedTableInfo.m b/Source/SPExtendedTableInfo.m index 3429446b..dcacf2ed 100644 --- a/Source/SPExtendedTableInfo.m +++ b/Source/SPExtendedTableInfo.m @@ -53,17 +53,6 @@ static NSString *SPUpdateTableTypeNewType = @"SPUpdateTableTypeNewType"; */ - (void)awakeFromNib { - [tableCreateSyntaxTextView setAllowsDocumentBackgroundColorChange:YES]; - - NSMutableDictionary *bindingOptions = [NSMutableDictionary dictionary]; - - [bindingOptions setObject:NSUnarchiveFromDataTransformerName forKey:@"NSValueTransformerName"]; - - [tableCreateSyntaxTextView bind:@"backgroundColor" - toObject:[NSUserDefaultsController sharedUserDefaultsController] - withKeyPath:@"values.CustomQueryEditorBackgroundColor" - options:bindingOptions]; - // Add observers for document task activity [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(startDocumentTaskForTab:) |