aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/CustomQuery.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CustomQuery.m b/Source/CustomQuery.m
index 7fa6ac00..6bede294 100644
--- a/Source/CustomQuery.m
+++ b/Source/CustomQuery.m
@@ -914,6 +914,8 @@
id column;
mySQLConnection = theConnection;
+
+ prefs = [NSUserDefaults standardUserDefaults];
if ( [prefs objectForKey:@"queryFavorites"] ) {
queryFavorites = [[NSMutableArray alloc] initWithArray:[prefs objectForKey:@"queryFavorites"]];
@@ -1916,8 +1918,6 @@
// init search history
[helpWebView setMaintainsBackForwardList:YES];
[[helpWebView backForwardList] setCapacity:20];
-
- prefs = [NSUserDefaults standardUserDefaults];
}
return self;