From 90ca7b7d84a80a77baf7914e12bc897d62f42a87 Mon Sep 17 00:00:00 2001 From: avenjamin Date: Sun, 10 Mar 2013 13:11:24 +0000 Subject: Restore tab bar label when cancelling a connection. --- Source/SPConnectionController.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source') diff --git a/Source/SPConnectionController.m b/Source/SPConnectionController.m index 898d8154..dd2bd808 100644 --- a/Source/SPConnectionController.m +++ b/Source/SPConnectionController.m @@ -1606,6 +1606,7 @@ static NSComparisonResult _compareFavoritesUsingKey(id favorite1, id favorite2, // Reset the window title [[dbDocument parentWindow] setTitle:[dbDocument displayName]]; + [[dbDocument parentTabViewItem] setLabel:[dbDocument displayName]]; // Stop the current tab's progress indicator [dbDocument setIsProcessing:NO]; @@ -1622,7 +1623,7 @@ static NSComparisonResult _compareFavoritesUsingKey(id favorite1, id favorite2, [progressIndicatorText setHidden:YES]; [progressIndicatorText display]; - // If not testing a connection,uUpdate the password fields, restoring passwords that may have + // If not testing a connection, Update the password fields, restoring passwords that may have // been bulleted out during connection if (!isTestingConnection) { if (connectionKeychainItemName) { -- cgit v1.2.3