aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionControllerDelegate.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2014-02-11 00:39:56 +0000
committerrowanbeentje <rowan@beent.je>2014-04-25 23:37:52 -0400
commitf387da0349f567e98c94544191df64881304a959 (patch)
tree4604e509bb611a841f71b71a206572ab64b4372b /Source/SPConnectionControllerDelegate.m
parent69c12e163713013af75fdb80d6982f30b81a9a06 (diff)
downloadsequelpro-f387da0349f567e98c94544191df64881304a959.tar.gz
sequelpro-f387da0349f567e98c94544191df64881304a959.tar.bz2
sequelpro-f387da0349f567e98c94544191df64881304a959.zip
Tweak some connection controller animation orders for better interactions when toggling SSL/switching tabs to start an edit
Diffstat (limited to 'Source/SPConnectionControllerDelegate.m')
-rw-r--r--Source/SPConnectionControllerDelegate.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/SPConnectionControllerDelegate.m b/Source/SPConnectionControllerDelegate.m
index d5b8b61e..acd9f1d7 100644
--- a/Source/SPConnectionControllerDelegate.m
+++ b/Source/SPConnectionControllerDelegate.m
@@ -532,17 +532,17 @@ static NSString *SPQuickConnectImageWhite = @"quick-connect-icon-white.pdf";
if (selectedTabView == previousType) return;
+ [self _startEditingConnection];
+
[self resizeTabViewToConnectionType:selectedTabView animating:YES];
// Update the host as appropriate
if ((selectedTabView != SPSocketConnection) && [[self host] isEqualToString:@"localhost"]) {
[self setHost:@""];
}
-
+
previousType = selectedTabView;
-
- [self _startEditingConnection];
-
+
[self _favoriteTypeDidChange];
}