Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

davbeck

macrumors regular
Original poster
May 16, 2008
104
0
Reno, NV
From within an openPanelDidEnd, I am trying to start a sheet with the following code:
Code:
[NSApp beginSheet:openWindow
   modalForWindow:[self window]
    modalDelegate:nil
   didEndSelector:NULL
      contextInfo:NULL];
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.
 
Its and openPanel run as a sheet. From within the didEnd callback function, I am opening a new sheet. However, the sheet doesn't actually close until just after my function is called.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.