Hi, I've just had a bug report from someone who had to force close Maya
2017 because I popped up a QMessageBox and the buttons that were supposed
to be on it were missing.
Here's a sanitised version of my code. parentWin is a QMainWindow whose
parent is the Maya window.
from PySide2 import QtWidgets
message = 'This is the message'
choice = QtWidgets.QMessageBox.question(
parentWin,
'Dialog title',
message,
QtWidgets.QMessageBox.Yes |
QtWidgets.QMessageBox.No,
defaultButton=QtWidgets.QMessageBox.Yes)
I know many years ago, Windows could run out of resources and things like
this could happen but I haven't heard of anything like that for at least 5
years. Can anyone speculate why this could happen under Windows 10?
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/2b426002-6a58-467b-8c5e-0a408a20e9b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.