From 4abb1690517dc2c843588b9e6dcc67f407493d02 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Sat, 12 Jun 2010 23:11:05 +0000 Subject: - Fix a regression in r2308 causing problems when dragging a tab from one window to another --- Source/SPWindowController.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Source') diff --git a/Source/SPWindowController.m b/Source/SPWindowController.m index 09ef989d..f04712cc 100644 --- a/Source/SPWindowController.m +++ b/Source/SPWindowController.m @@ -124,9 +124,8 @@ */ - (void) updateSelectedTableDocument { - SPDatabaseDocument *previouslySelectedTableDocument = selectedTableDocument; selectedTableDocument = [[tabView selectedTabViewItem] identifier]; - if ([previouslySelectedTableDocument isNotEqualTo:selectedTableDocument]) [selectedTableDocument didBecomeActiveTabInWindow]; + [selectedTableDocument didBecomeActiveTabInWindow]; } /** -- cgit v1.2.3