aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-06-12 23:11:05 +0000
committerrowanbeentje <rowan@beent.je>2010-06-12 23:11:05 +0000
commit4abb1690517dc2c843588b9e6dcc67f407493d02 (patch)
treef9e474a26b08290dae2e302dc487e2bc2906cec4 /Source
parentb5255d9abe321b1c3cc4e701e33cb214986747c8 (diff)
downloadsequelpro-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')
-rw-r--r--Source/SPWindowController.m3
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];
}
/**