aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-06-14 08:53:21 +0000
committerBibiko <bibiko@eva.mpg.de>2010-06-14 08:53:21 +0000
commit4cead29edd672205c84c69d33cac7ac4d76577df (patch)
tree8e8cee111a1e16ef5f0ca0b9a92f646a8657a0ab
parent93d2314ef5bb924707fb0f19e31bb914cceb5d79 (diff)
downloadsequelpro-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
-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"];
}