aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-05-02 14:30:58 +0000
committerstuconnolly <stuart02@gmail.com>2012-05-02 14:30:58 +0000
commit395dc22a1938c2f1c358f126734f56b8d38f7d28 (patch)
tree5e4ea96af34e784f02c0a01a14341724a4c5a9ba
parent10e797436aac4a33e1bee046be07286a5d6eb22a (diff)
downloadsequelpro-395dc22a1938c2f1c358f126734f56b8d38f7d28.tar.gz
sequelpro-395dc22a1938c2f1c358f126734f56b8d38f7d28.tar.bz2
sequelpro-395dc22a1938c2f1c358f126734f56b8d38f7d28.zip
Make sure the connection details input is visible after removing a node.
-rw-r--r--Source/SPConnectionController.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/SPConnectionController.m b/Source/SPConnectionController.m
index f5929ff6..58eb4002 100644
--- a/Source/SPConnectionController.m
+++ b/Source/SPConnectionController.m
@@ -1308,6 +1308,9 @@ static NSComparisonResult _compareFavoritesUsingKey(id favorite1, id favorite2,
[self _reloadFavoritesViewData];
+ [connectionResizeContainer setHidden:NO];
+ [connectionInstructionsTextField setStringValue:NSLocalizedString(@"Enter connection details below, or choose a favorite", @"enter connection details label")];
+
[[(SPPreferenceController *)[[NSApp delegate] preferenceController] generalPreferencePane] updateDefaultFavoritePopup];
}