diff options
author | stuconnolly <stuart02@gmail.com> | 2009-04-10 00:17:05 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2009-04-10 00:17:05 +0000 |
commit | 68b9bbc92bfdcb027db31e775cf67b3c573d473b (patch) | |
tree | 8bbca3c1735ac6285bfafac92de1812d0367b9e4 /Source | |
parent | 5b6f8231ebfeea5d24fa6163325c0215d3829e7c (diff) | |
download | sequelpro-68b9bbc92bfdcb027db31e775cf67b3c573d473b.tar.gz sequelpro-68b9bbc92bfdcb027db31e775cf67b3c573d473b.tar.bz2 sequelpro-68b9bbc92bfdcb027db31e775cf67b3c573d473b.zip |
That shouln't be there. Copy/paste error.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/TableDocument.m | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m index 1f6f16bb..f6e419c5 100644 --- a/Source/TableDocument.m +++ b/Source/TableDocument.m @@ -1848,10 +1848,9 @@ NSString *TableDocumentFavoritesControllerFavoritesDidChange = @"TableDocum [keyChainInstance deletePasswordForName:[NSString stringWithFormat:@"Sequel Pro : %@", favoriteNamebBeingChanged] account:[NSString stringWithFormat:@"%@@%@/%@", [favorite objectForKey:@"user"], [favorite objectForKey:@"host"], [favorite objectForKey:@"database"]]]; - if ( ![[passwordField stringValue] isEqualToString:@""] ) - [keyChainInstance addPassword:[passwordField stringValue] - forName:[NSString stringWithFormat:@"Sequel Pro : %@", object] - account:[NSString stringWithFormat:@"%@@%@/%@", [favorite objectForKey:@"user"], [favorite objectForKey:@"host"], [favorite objectForKey:@"database"]]]; + [keyChainInstance addPassword:[passwordField stringValue] + forName:[NSString stringWithFormat:@"Sequel Pro : %@", object] + account:[NSString stringWithFormat:@"%@@%@/%@", [favorite objectForKey:@"user"], [favorite objectForKey:@"host"], [favorite objectForKey:@"database"]]]; favoriteNamebBeingChanged = nil; } |