From 6023b60b4a6bbb338d3363c43ccebe8eeee9c97a Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Tue, 3 Sep 2013 23:46:21 +0000 Subject: - Add .sql files opened via File > Open to the Recent Files menu for Issue #1011 (note that File > Import files are *not* currently added) --- Source/SPAppController.m | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source') diff --git a/Source/SPAppController.m b/Source/SPAppController.m index eb5c0241..0efa243d 100644 --- a/Source/SPAppController.m +++ b/Source/SPAppController.m @@ -349,6 +349,8 @@ [[self frontDocument] doPerformLoadQueryService:[self contentOfFile:filename]]; } + [[NSDocumentController sharedDocumentController] noteNewRecentDocumentURL:[NSURL fileURLWithPath:filename]]; + break; // open only the first SQL file } -- cgit v1.2.3