Calling makeFirstResponder when saving doc crashes my app
Calling makeFirstResponder when saving doc crashes my app
- Subject: Calling makeFirstResponder when saving doc crashes my app
- From: Magnus Strand <email@hidden>
- Date: Tue, 01 Feb 2005 13:58:26 +0100
Hi!
I have a Cocoa document based app.
In my document's dataRepresentationOfType I call [window
makeFirstResponder:window].
I do this to make sure that the currently edited text field saves its
text to its NSFormCell.
But when I do this my app crashes at the end of the save in:
objc_msgSend
NSPopAutoreleasePool
-[NSApplication run]
NSApplicationMain
main
If I don't call makeFirstResponder saving works fine.
TIA
Magnus Strand
System Developer, MSc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden