(0000056)
steph (administrator)
2010-04-02 22:15
|
This also happens with ANY dialogue (Such as 'Wrong Password' popup). It's cause by when the dialogue is the only visible window (ie. when the main window is minimized), so the app thinks it can close. For some reason the close event in these cases by-passes the event handler in the main window (QT bug?)
Two possible ways to fix this:
1) Re-implement QDialogBox to prevent the close event being passes on to the parent.
2) Force the main window to become visible BEFORE the popup. |