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



-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to