diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPConnectionController.m | 2 | ||||
-rw-r--r-- | Source/SPConnectionControllerDelegate.m | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Source/SPConnectionController.m b/Source/SPConnectionController.m index adccee65..12624178 100644 --- a/Source/SPConnectionController.m +++ b/Source/SPConnectionController.m @@ -489,8 +489,8 @@ static NSComparisonResult _compareFavoritesUsingKey(id favorite1, id favorite2, - (IBAction)updateSSLInterface:(id)sender { #ifndef SP_CODA - [self resizeTabViewToConnectionType:[self type] animating:YES]; [self _startEditingConnection]; + [self resizeTabViewToConnectionType:[self type] animating:YES]; #endif } 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]; } |