Re: NSDocument not displaying save prompt on dirty document

2016-06-04 Thread livinginlosangeles
Ok. The issue was that the auto-save prompt had disappeared when I was closing a dirty nsdocument. I added a nswindowcontroller to my nsdocument using addWindowController. I needed to add setShouldCloseDocument to my main nswindowcontroller, otherwise my document wouldn’t show the prompt.

Re: NSDocument not displaying save prompt on dirty document

2016-05-29 Thread livinginlosangeles
Ok. The issue was that the auto-save prompt had disappeared when I was closing a dirty nsdocument. I added a nswindowcontroller to my nsdocument using addWindowController. I needed to add setShouldCloseDocument to my main nswindowcontroller, otherwise my document wouldn’t show the prompt.

Re: NSDocument not displaying save prompt on dirty document

2016-05-24 Thread livinginlosangeles
I never knew that was an option. I turned it on. Restarted my application, but still no prompt to save my dirty NSDocument when I close it. Any further ideas? On May 24, 2016, at 12:29 AM, Graham Cox wrote: > >> On 24 May 2016, at 3:52 PM, livinginlosange...@mac.com

Re: NSDocument not displaying save prompt on dirty document

2016-05-24 Thread Graham Cox
> On 24 May 2016, at 3:52 PM, livinginlosange...@mac.com wrote: > > I have an NSDocument subclass that is no longer displaying a save prompt when > I close a dirty document using the close: IBAction. My document is marked as > dirty and I am using the NSDocument’s NSUndoManager. I am not doing

NSDocument not displaying save prompt on dirty document

2016-05-23 Thread livinginlosangeles
I have an NSDocument subclass that is no longer displaying a save prompt when I close a dirty document using the close: IBAction. My document is marked as dirty and I am using the NSDocument’s NSUndoManager. I am not doing anything behind the document’s back by setting the update count, etc.