diff options
author | rowanbeentje <rowan@beent.je> | 2012-05-02 23:39:43 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2012-05-02 23:39:43 +0000 |
commit | 8b91b2898889f60a79525d4c123620a323156021 (patch) | |
tree | cb2c1152bd07f1b172d140079a43e32bf5f35d5c /Source/SPConnectionController.h | |
parent | 74843eab993bd3aac144f2d6ce5e69f76b002bd2 (diff) | |
download | sequelpro-8b91b2898889f60a79525d4c123620a323156021.tar.gz sequelpro-8b91b2898889f60a79525d4c123620a323156021.tar.bz2 sequelpro-8b91b2898889f60a79525d4c123620a323156021.zip |
- Alter the variable that currentFavorite tracks to the favourite instead of a copy of the represented node; this addresses a crash on Lion (Issue #1328)
- Clean up variables and initialisers, restore connection keychain ID tracking and setting
Diffstat (limited to 'Source/SPConnectionController.h')
-rw-r--r-- | Source/SPConnectionController.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/SPConnectionController.h b/Source/SPConnectionController.h index eeb7f2d0..456f8383 100644 --- a/Source/SPConnectionController.h +++ b/Source/SPConnectionController.h @@ -67,7 +67,6 @@ NSOpenPanel *keySelectionPanel; #endif NSUserDefaults *prefs; - NSMutableArray *favorites; #ifndef SP_REFACTOR /* ivars */ BOOL automaticFavoriteSelection; @@ -174,7 +173,7 @@ SPTreeNode *favoritesRoot; SPFavoriteNode *currentFavorite; SPFavoritesController *favoritesController; - SPFavoritesSortItem previousSortItem, currentSortItem; + SPFavoritesSortItem currentSortItem; #endif } |