aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPWindowControllerDelegate.m
diff options
context:
space:
mode:
authorAbhi Beckert <abhi@abhibeckert.com>2016-01-29 06:40:18 +1000
committerAbhi Beckert <abhi@abhibeckert.com>2016-01-29 06:40:18 +1000
commitf4c4300dca0c416c12b3992204778ef9f37981ec (patch)
treee76a4747bf1c3f82bc037990bf84e3f13062601e /Source/SPWindowControllerDelegate.m
parent465062dacc96c2c84bfe9cff1ded58c14d01bdcd (diff)
parent3aadea1be33212ca50e7faffcd0620ea976f9d59 (diff)
downloadsequelpro-f4c4300dca0c416c12b3992204778ef9f37981ec.tar.gz
sequelpro-f4c4300dca0c416c12b3992204778ef9f37981ec.tar.bz2
sequelpro-f4c4300dca0c416c12b3992204778ef9f37981ec.zip
Merge remote-tracking branch 'sequelpro/master'
Diffstat (limited to 'Source/SPWindowControllerDelegate.m')
-rw-r--r--Source/SPWindowControllerDelegate.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPWindowControllerDelegate.m b/Source/SPWindowControllerDelegate.m
index 47959f1b..3e94cebf 100644
--- a/Source/SPWindowControllerDelegate.m
+++ b/Source/SPWindowControllerDelegate.m
@@ -41,6 +41,7 @@
- (void)_updateProgressIndicatorForItem:(NSTabViewItem *)theItem;
- (void)_updateLineHidingViewState;
+- (void)_switchOutSelectedTableDocument:(SPDatabaseDocument *)newDoc;
@end
@@ -186,7 +187,7 @@
{
if ([[PSMTabDragAssistant sharedDragAssistant] isDragging]) return;
- selectedTableDocument = [tabViewItem identifier];
+ [self _switchOutSelectedTableDocument:[tabViewItem identifier]];
[selectedTableDocument didBecomeActiveTabInWindow];
if ([[self window] isKeyWindow]) [selectedTableDocument tabDidBecomeKey];