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/SPQueryFavoriteManager.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/SPQueryFavoriteManager.m')
-rw-r--r-- | Source/SPQueryFavoriteManager.m | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Source/SPQueryFavoriteManager.m b/Source/SPQueryFavoriteManager.m index 28f824fe..1b5ce3dc 100644 --- a/Source/SPQueryFavoriteManager.m +++ b/Source/SPQueryFavoriteManager.m @@ -82,18 +82,6 @@ */ - (void)awakeFromNib { - [favoriteQueryTextView setAllowsDocumentBackgroundColorChange:YES]; - - NSMutableDictionary *bindingOptions = [NSMutableDictionary dictionary]; - - [bindingOptions setObject:NSUnarchiveFromDataTransformerName forKey:@"NSValueTransformerName"]; - - [favoriteQueryTextView bind:@"backgroundColor" - toObject:[NSUserDefaultsController sharedUserDefaultsController] - withKeyPath:@"values.CustomQueryEditorBackgroundColor" - options:bindingOptions]; - - [favorites addObject:[NSDictionary dictionaryWithObjectsAndKeys: @"Global", @"name", @"", @"headerOfFileURL", |