From within an openPanelDidEnd, I am trying to start a sheet with the following code:
the openPanel is running as a sheet as well, and when it animates out, the window that it is attached to disappears with it, and the new sheet just sits there attached to nothing.
Code:
[NSApp beginSheet:openWindow
modalForWindow:[self window]
modalDelegate:nil
didEndSelector:NULL
contextInfo:NULL];