diff options
author | rowanbeentje <rowan@beent.je> | 2010-08-03 23:10:59 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-08-03 23:10:59 +0000 |
commit | 71002662ef004b798766906bce9e51ad359e1745 (patch) | |
tree | 0fd2858d2932620ea4bb50f63401432180e25e89 /Source | |
parent | b1b0bb0fcb687b06d0af23b972396eb6f412852f (diff) | |
download | sequelpro-71002662ef004b798766906bce9e51ad359e1745.tar.gz sequelpro-71002662ef004b798766906bce9e51ad359e1745.tar.bz2 sequelpro-71002662ef004b798766906bce9e51ad359e1745.zip |
- Fix menu item and window close issues after a tab is dragged to a new window, including for single tabs in windows moved by their tabs
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPWindowController.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPWindowController.m b/Source/SPWindowController.m index 324e2244..65c1c330 100644 --- a/Source/SPWindowController.m +++ b/Source/SPWindowController.m @@ -401,7 +401,8 @@ [draggedDocument setParentWindow:[tabBarControl window]]; [draggedDocument didBecomeActiveTabInWindow]; - // Update isProcessing observation + // Update window controller's active tab, and update the document's isProcessing observation + [[[tabBarControl window] windowController] updateSelectedTableDocument]; [draggedDocument removeObserver:[draggedFromWindow windowController] forKeyPath:@"isProcessing"]; [[[tabBarControl window] windowController] _updateProgressIndicatorForItem:tabViewItem]; } |