View Single Post
Posts: 19 | Thanked: 7 times | Joined on Jan 2010 @ dallas, tx usa
#4
The dialog gets disposed of with a DialogCode of None if you tap on the background form when a modal QDialog is being displayed.

You have to handle accept() / reject() yourself from whatever buttons are on your form. When the background is clicked it is being "canceled" without being rejected.
 

The Following User Says Thank You to nilsbenson For This Useful Post: