From 1e5288e9840e201a00bcb5ca3035d7aa807f1f8d Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Mon, 7 Mar 2011 20:12:52 +0000 Subject: Bring outline view branch up to date with trunk (r3203:r3224). --- Source/SPWindowController.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Source/SPWindowController.m') diff --git a/Source/SPWindowController.m b/Source/SPWindowController.m index b22248fe..7fdb76e6 100644 --- a/Source/SPWindowController.m +++ b/Source/SPWindowController.m @@ -25,6 +25,8 @@ #import "SPWindowController.h" #import "SPDatabaseDocument.h" #import "PSMTabDragAssistant.h" +#import "SPDatabaseViewController.h" +#import "SPAppController.h" #import #import @@ -160,7 +162,7 @@ { // Return if the selected tab shouldn't be closed - if (![selectedTableDocument parentTabShouldClose]) return NO; + if (![selectedTableDocument parentTabShouldClose]) return; // If there are multiple tabs, close the front tab. if ([tabView numberOfTabViewItems] > 1) { -- cgit v1.2.3