Python.exe has stopped working
Laura Creighton
lac at openend.se
Tue Jun 2 10:12:59 EDT 2015
In a message of Tue, 02 Jun 2015 06:09:34 -0700, Alexis Dubois writes:
>Hello !
>
>I have this kind of message every time I quit my PyQt4 app whatever the method to quit is: a quit action menu, the windows "red cross", by quit(), close(), destroy(), deletelater(), ...
>
>"python.exe has stopped working"
>->Check online for a solution
>->Close the program
>
>I need to specify that the app is working nice, just have this message when quit.
>Do you have an idea to help me understand this issue?
>
>Thanks in advance
>Best regards
>Alexis
>--
>https://mail.python.org/mailman/listinfo/python-list
You can override closeEvent
def closeEvent(self, event):
QtGui.qApp.quit()
event.ignore()
This just shuts it up, you may have more complicated things you want to do.
Laura
More information about the Python-list
mailing list