Re: runModalSession handling

2018-04-05 Thread Quincey Morris
On Apr 5, 2018, at 15:27 , Tom Doan wrote: > > I checked and none of my stopModalWithCodes are being fired, so the result > code has to be coming off the system dialog. I did a kludge where I used 100 > and 101 for my own stop codes, and continued on 0 and 1, and that seemed to > work around t

runModalSession handling

2018-04-05 Thread Tom Doan
Based upon a recommendation that I found, I changed up code from running a modal dialog to use beginModalSessionForWindow and runModalSession. Unfortunately, if I run an NSOpenPanel from within this (used for a browse for a target directory), runModalSession for *my* dialog returns the 0 or 1