Skip to content

Conversation

jdelStrother
Copy link

When I want to open a recent window, I often hit ⌘N � ⎋ without thinking about it, which causes a crash as AppKit inspects the uninitialized outError to find out why PBRepositoryDocumentController didn't create a document.

This commit fixes the crash. You now get "No document could be created." on hitting File->New, then Cancel - it appears to be impossible to silently return nil from makeUntitledDocumentOfType.

@alistairmcmillan
Copy link

Duplicate of patch #220 .

@tiennou tiennou mentioned this pull request Mar 2, 2014
@rowanj rowanj closed this in #295 Jul 27, 2014
rowanj added a commit that referenced this pull request Jul 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants