aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPProcessListController.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2011-06-13 22:33:03 +0000
committerrowanbeentje <rowan@beent.je>2011-06-13 22:33:03 +0000
commit876a4e359f72653a4be001b5bb41900253794b58 (patch)
treec1c62b60a34d52bcefed568c1ab3a974c4d08c19 /Source/SPProcessListController.m
parent76fdeae4c06a14ec01cc65af0802ff21f2d2aaa7 (diff)
downloadsequelpro-876a4e359f72653a4be001b5bb41900253794b58.tar.gz
sequelpro-876a4e359f72653a4be001b5bb41900253794b58.tar.bz2
sequelpro-876a4e359f72653a4be001b5bb41900253794b58.zip
- Reorder process list initialisation to ensure FULL processlist preference is correctly read
Diffstat (limited to 'Source/SPProcessListController.m')
-rw-r--r--Source/SPProcessListController.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPProcessListController.m b/Source/SPProcessListController.m
index 4caa6a59..3745d4e0 100644
--- a/Source/SPProcessListController.m
+++ b/Source/SPProcessListController.m
@@ -62,11 +62,11 @@ static const NSString *SPTableViewIDColumnIdentifier = @"Id";
autoRefreshTimer = nil;
processListThreadRunning = NO;
- showFullProcessList = [prefs boolForKey:SPProcessListShowFullProcessList];
-
processes = [[NSMutableArray alloc] init];
prefs = [NSUserDefaults standardUserDefaults];
+
+ showFullProcessList = [prefs boolForKey:SPProcessListShowFullProcessList];
}
return self;