aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/SPWindowController.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/SPWindowController.m b/Source/SPWindowController.m
index 3b7ef8aa..d03762d8 100644
--- a/Source/SPWindowController.m
+++ b/Source/SPWindowController.m
@@ -403,6 +403,9 @@
// Set the window controller as the window's delegate
[newWindow setDelegate:newWindowController];
+ // Set window title
+ [newWindow setTitle:[[[tabViewItem identifier] parentWindow] title]];
+
// Return the window's tab bar
return [newWindowController valueForKey:@"tabBar"];
}