From 93d2314ef5bb924707fb0f19e31bb914cceb5d79 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Sun, 13 Jun 2010 21:43:05 +0000 Subject: Improvements to tab dragging and switching: - Attempt to preserve toolbar visibility settings - Fix dragging on previously background tabs - When dragging a tab, show the tab bar in all windows to that windows containing a single tab can be added to - Fix window sizing when creating new windows via a tab drag - Improve window representation when dragging a tab off a window, and fix placement when creating a new window following mouse release --- Source/SPDatabaseDocument.m | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/SPDatabaseDocument.m') diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m index d5ebb24c..e0ba899e 100644 --- a/Source/SPDatabaseDocument.m +++ b/Source/SPDatabaseDocument.m @@ -3909,7 +3909,9 @@ { // Update the toolbar + BOOL toolbarVisible = ![parentWindow toolbar] || [[parentWindow toolbar] isVisible]; [parentWindow setToolbar:mainToolbar]; + if (!toolbarVisible) [[parentWindow toolbar] setVisible:NO]; // Update the window's title and represented document [self updateWindowTitle:self]; -- cgit v1.2.3