diff options
author | rowanbeentje <rowan@beent.je> | 2013-09-03 23:46:21 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2013-09-03 23:46:21 +0000 |
commit | 6023b60b4a6bbb338d3363c43ccebe8eeee9c97a (patch) | |
tree | fae8ce8f92f2d23fd7c2daadde7bfadd5eafee0c /Source | |
parent | 259750a6d667e755cbe1b0193463f3c5133fdf20 (diff) | |
download | sequelpro-6023b60b4a6bbb338d3363c43ccebe8eeee9c97a.tar.gz sequelpro-6023b60b4a6bbb338d3363c43ccebe8eeee9c97a.tar.bz2 sequelpro-6023b60b4a6bbb338d3363c43ccebe8eeee9c97a.zip |
- Add .sql files opened via File > Open to the Recent Files menu for Issue #1011 (note that File > Import files are *not* currently added)
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPAppController.m | 2 |
1 files changed, 2 insertions, 0 deletions
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 } |