Problem in coming out of modal run loop

2011-07-25 Thread Abhijeet Singh
Hi,I am opening a NSPanel as a modal window using runModalForWindow method.The problem is when i close the panel the modal run loop is not stopped. I have tried all the possible ways ( stopModalWithCode, stopModal, abortModal). But nothing works. I have number of modal windows in my

Re: Problem in coming out of modal run loop

2011-07-25 Thread Keary Suska
On Jul 25, 2011, at 6:01 AM, Abhijeet Singh wrote: Hi,I am opening a NSPanel as a modal window using runModalForWindow method.The problem is when i close the panel the modal run loop is not stopped. I have tried all the possible ways ( stopModalWithCode, stopModal, abortModal). But nothing