aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPWindowController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPWindowController.m')
-rw-r--r--Source/SPWindowController.m3
1 files changed, 2 insertions, 1 deletions
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