On Thu, Jan 08, 2004 at 12:04:13PM +0100, Alfredo Braunstein wrote: > But *not* by pressing the esc key. Go figure. > > Pressing the esc key is not equivalent to pressing the cancel button.
Qt is moronic. I probably ranted about this in the archives. More importantly, I fixed the problem for some important subclass of dialogs that had clean up to do when a dialog closes. Look at QSpellchecker(Dialog?), somewhere there there is handling for the Escape key. I forget the details, hope that's enough to give you a clue regards john -- Khendon's Law: If the same point is made twice by the same person, the thread is over.