From 3ed8b33deeadcc98185911f41bc6bcb4e53b4719 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Sun, 3 Apr 2011 09:34:29 +0000 Subject: Bring outline view branch up to date with trunk (r3246:r3264). --- Source/SPAppController.m | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/SPAppController.m') diff --git a/Source/SPAppController.m b/Source/SPAppController.m index 8ea656c5..d151a6e6 100644 --- a/Source/SPAppController.m +++ b/Source/SPAppController.m @@ -350,6 +350,7 @@ YY_BUFFER_STATE yy_scan_string (const char *); } [[self frontDocument] setStateFromConnectionFile:filename]; + [[NSDocumentController sharedDocumentController] noteNewRecentDocumentURL:[NSURL fileURLWithPath:filename]]; } else if([[[filename pathExtension] lowercaseString] isEqualToString:[SPBundleFileExtension lowercaseString]]) { @@ -471,6 +472,7 @@ YY_BUFFER_STATE yy_scan_string (const char *); } [spfs release]; + [[NSDocumentController sharedDocumentController] noteNewRecentDocumentURL:[NSURL fileURLWithPath:filename]]; } else if([[[filename pathExtension] lowercaseString] isEqualToString:[SPColorThemeFileExtension lowercaseString]]) { -- cgit v1.2.3