aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2012-11-08 00:40:49 +0000
committerrowanbeentje <rowan@beent.je>2012-11-08 00:40:49 +0000
commit85dbac812f6d1cbba269d9e92ab3ad14cb858e67 (patch)
tree42a08cd9a332e32a06ce60e2f6fee4fecc549cb7
parenta5ba7a6eb22f045385267214677cf29c563680fa (diff)
downloadsequelpro-85dbac812f6d1cbba269d9e92ab3ad14cb858e67.tar.gz
sequelpro-85dbac812f6d1cbba269d9e92ab3ad14cb858e67.tar.bz2
sequelpro-85dbac812f6d1cbba269d9e92ab3ad14cb858e67.zip
- When connection details are saved, ensure the outline view reflects the change in edit status
-rw-r--r--Source/SPConnectionController.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/SPConnectionController.m b/Source/SPConnectionController.m
index b9ab0510..797f122c 100644
--- a/Source/SPConnectionController.m
+++ b/Source/SPConnectionController.m
@@ -1776,10 +1776,11 @@ static NSComparisonResult _compareFavoritesUsingKey(id favorite1, id favorite2,
{
if (!isEditingConnection) return;
+ [self setIsEditingConnection:NO];
+
[editButtonsView setHidden:YES];
[progressIndicatorText setHidden:YES];
-
- [self setIsEditingConnection:NO];
+ [(NSView *)favoritesOutlineView display];
}
#pragma mark -