diff options
author | stuconnolly <stuart02@gmail.com> | 2012-05-03 12:05:01 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2012-05-03 12:05:01 +0000 |
commit | 83fa503079f7a049ffab9747b0360046474f3253 (patch) | |
tree | 028d0a92e558ba42e796847ab0f68d6e3037fb50 /Source/SPConnectionController.m | |
parent | 0d3af5fe7631325e8a892011f0595c76b1ebd49a (diff) | |
download | sequelpro-83fa503079f7a049ffab9747b0360046474f3253.tar.gz sequelpro-83fa503079f7a049ffab9747b0360046474f3253.tar.bz2 sequelpro-83fa503079f7a049ffab9747b0360046474f3253.zip |
Add support for saving the state of the connection favorites outline view.
Diffstat (limited to 'Source/SPConnectionController.m')
-rw-r--r-- | Source/SPConnectionController.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPConnectionController.m b/Source/SPConnectionController.m index 350616ce..7e3e793b 100644 --- a/Source/SPConnectionController.m +++ b/Source/SPConnectionController.m @@ -1223,7 +1223,7 @@ static NSComparisonResult _compareFavoritesUsingKey(id favorite1, id favorite2, - (void)_reloadFavoritesViewData { [favoritesOutlineView reloadData]; - [favoritesOutlineView expandItem:[[favoritesRoot childNodes] objectAtIndex:0] expandChildren:YES]; + [favoritesOutlineView expandItem:[[favoritesRoot childNodes] objectAtIndex:0] expandChildren:NO]; [favoritesOutlineView scrollRowToVisible:[favoritesOutlineView selectedRow]]; } |