diff options
author | rowanbeentje <rowan@beent.je> | 2012-06-05 22:17:10 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2012-06-05 22:17:10 +0000 |
commit | e63fb15b08fa4b0f70a45f2393d0913b3641eeb2 (patch) | |
tree | 285cfbe0a6d9e1e381f4a12e6bfa8d4ac737df73 /Source/SPConnectionControllerInitializer.m | |
parent | 88660884d44b9bbb743cc911a7fc1dc9c124e632 (diff) | |
download | sequelpro-e63fb15b08fa4b0f70a45f2393d0913b3641eeb2.tar.gz sequelpro-e63fb15b08fa4b0f70a45f2393d0913b3641eeb2.tar.bz2 sequelpro-e63fb15b08fa4b0f70a45f2393d0913b3641eeb2.zip |
- Fix flickering and incorrect connection view positioning on initial window creation
Diffstat (limited to 'Source/SPConnectionControllerInitializer.m')
-rw-r--r-- | Source/SPConnectionControllerInitializer.m | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/SPConnectionControllerInitializer.m b/Source/SPConnectionControllerInitializer.m index e123f5a8..675c8f62 100644 --- a/Source/SPConnectionControllerInitializer.m +++ b/Source/SPConnectionControllerInitializer.m @@ -66,7 +66,8 @@ static NSString *SPConnectionViewNibName = @"ConnectionView"; connectionKeychainItemAccount = nil; connectionSSHKeychainItemName = nil; connectionSSHKeychainItemAccount = nil; - + + initComplete = NO; isEditing = NO; isConnecting = NO; sshTunnel = nil; @@ -116,6 +117,8 @@ static NSString *SPConnectionViewNibName = @"ConnectionView"; // Set sort items currentSortItem = (SPFavoritesSortItem)[prefs integerForKey:SPFavoritesSortedBy]; reverseFavoritesSort = [prefs boolForKey:SPFavoritesSortedInReverse]; + + initComplete = YES; } return self; |