aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPQueryFavoriteManager.m
diff options
context:
space:
mode:
authordmoagx <post@wickenrode.com>2012-03-16 20:19:17 +0000
committerdmoagx <post@wickenrode.com>2012-03-16 20:19:17 +0000
commit8886d935e933c6239aa9b35e900d96f7d07527c7 (patch)
tree20093287366272e0e7b234f863e69e5a236a8f00 /Source/SPQueryFavoriteManager.m
parentab3d4cc4fcc42283cebc1062729512d85e9db620 (diff)
downloadsequelpro-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.m12
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",