diff options
Diffstat (limited to 'Source/SPConnectionControllerDelegate.m')
-rw-r--r-- | Source/SPConnectionControllerDelegate.m | 8 |
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]; } |