From b1b0bb0fcb687b06d0af23b972396eb6f412852f Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Tue, 3 Aug 2010 00:38:50 +0000 Subject: Improve tab dragging: - Fix toolbar issues when the last tab is dragged "out of" a window (eg a window is moved via the only tab left inside it) - Fix window positioning flicker when dragging a tab out of its window --- Source/SPWindowController.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/SPWindowController.m') diff --git a/Source/SPWindowController.m b/Source/SPWindowController.m index 7eb83765..324e2244 100644 --- a/Source/SPWindowController.m +++ b/Source/SPWindowController.m @@ -391,7 +391,8 @@ // If the window changed, perform additional processing. if (draggedFromWindow != [tabBarControl window]) { - // Update the old window + // Update the old window, ensuring the toolbar is cleared to prevent issues with toolbars in multiple windows + [draggedFromWindow setToolbar:nil]; [[draggedFromWindow windowController] updateSelectedTableDocument]; // Update the item's document's window and controller -- cgit v1.2.3