diff options
author | rowanbeentje <rowan@beent.je> | 2010-06-12 23:11:05 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-06-12 23:11:05 +0000 |
commit | 4abb1690517dc2c843588b9e6dcc67f407493d02 (patch) | |
tree | f9e474a26b08290dae2e302dc487e2bc2906cec4 /Source/SPWindowController.m | |
parent | b5255d9abe321b1c3cc4e701e33cb214986747c8 (diff) | |
download | sequelpro-4abb1690517dc2c843588b9e6dcc67f407493d02.tar.gz sequelpro-4abb1690517dc2c843588b9e6dcc67f407493d02.tar.bz2 sequelpro-4abb1690517dc2c843588b9e6dcc67f407493d02.zip |
- Fix a regression in r2308 causing problems when dragging a tab from one window to another
Diffstat (limited to 'Source/SPWindowController.m')
-rw-r--r-- | Source/SPWindowController.m | 3 |
1 files changed, 1 insertions, 2 deletions
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]; } /** |