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.
Patri
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.
Patri
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 wrote:
>>
>> I have an NSD
> 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
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. Wou