aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionController.m
diff options
context:
space:
mode:
authoravenjamin <avenjamin@gmail.com>2013-03-10 13:11:24 +0000
committeravenjamin <avenjamin@gmail.com>2013-03-10 13:11:24 +0000
commit90ca7b7d84a80a77baf7914e12bc897d62f42a87 (patch)
treea7f0a6b5f876dde7f5d017e763a1892262a97b41 /Source/SPConnectionController.m
parent4db3922e4777aac10855d457ba4f2962fcd8fd8c (diff)
downloadsequelpro-90ca7b7d84a80a77baf7914e12bc897d62f42a87.tar.gz
sequelpro-90ca7b7d84a80a77baf7914e12bc897d62f42a87.tar.bz2
sequelpro-90ca7b7d84a80a77baf7914e12bc897d62f42a87.zip
Restore tab bar label when cancelling a connection.
Diffstat (limited to 'Source/SPConnectionController.m')
-rw-r--r--Source/SPConnectionController.m3
1 files changed, 2 insertions, 1 deletions
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) {