From 4cead29edd672205c84c69d33cac7ac4d76577df Mon Sep 17 00:00:00 2001 From: Bibiko Date: Mon, 14 Jun 2010 08:53:21 +0000 Subject: =?UTF-8?q?=E2=80=A2=20if=20tab=20view=20item=20is=20dragged=20out?= =?UTF-8?q?=20of=20a=20tab=20bar=20set=20the=20correct=20window=20title?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPWindowController.m | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source') 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"]; } -- cgit v1.2.3