aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPDatabaseDocument.m')
-rw-r--r--Source/SPDatabaseDocument.m7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m
index 21f774e5..ab7f2a5d 100644
--- a/Source/SPDatabaseDocument.m
+++ b/Source/SPDatabaseDocument.m
@@ -3886,6 +3886,8 @@ static int64_t SPDatabaseDocumentInstanceCounter = 0;
// Set the titles
[parentTabViewItem setLabel:tabTitle];
[parentTabViewItem setColor:tabColor];
+ [parentWindowController updateTabBar];
+
if ([parentWindowController selectedTableDocument] == self) {
[parentWindow setTitle:windowTitle];
}
@@ -5163,14 +5165,13 @@ static int64_t SPDatabaseDocumentInstanceCounter = 0;
#endif
}
-
-#ifdef SP_CODA
-
- (SPConnectionController*)connectionController
{
return connectionController;
}
+#ifdef SP_CODA
+
- (void)databaseDocumentConnectionFailed:(id)sender
{
if ( delegate && [delegate respondsToSelector:@selector(databaseDocumentConnectionFailed:)] )