diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-06-14 08:53:21 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-06-14 08:53:21 +0000 |
commit | 4cead29edd672205c84c69d33cac7ac4d76577df (patch) | |
tree | 8e8cee111a1e16ef5f0ca0b9a92f646a8657a0ab /Source | |
parent | 93d2314ef5bb924707fb0f19e31bb914cceb5d79 (diff) | |
download | sequelpro-4cead29edd672205c84c69d33cac7ac4d76577df.tar.gz sequelpro-4cead29edd672205c84c69d33cac7ac4d76577df.tar.bz2 sequelpro-4cead29edd672205c84c69d33cac7ac4d76577df.zip |
• if tab view item is dragged out of a tab bar set the correct window title
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPWindowController.m | 3 |
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"]; } |