// Error: 'ListLayersDialog' object has no attribute 'winEvent'
# Traceback (most recent call last):
# File "<maya console>", line 28, in <module>
# AttributeError: 'ListLayersDialog' object has no attribute 'winEvent' //
Here is the class code :
class ListLayersDialog(QtGui.QDialog):
def __init__(self, parent=maya_main_window()):
QtGui.QDialog.__init__(self, parent)
self.ui = Ui_frm_setup_passes()
self.ui.setupUi(self)
The form shows fine ... but the error still gets reported.
Any thoughts ?
What does line 28 do in your code?
Sounds like you are accessing an attribute that does not exist ☺
--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/d96dcf8d-11cb-47a8-b97d-24affb95e5a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
What does line 28 do in your code?
Sounds like you are accessing an attribute that does not exist ☺
On 15/07/2014 11:48 PM, "md" <acco...@mdonovan.com> wrote:
I am getting this error after showing a PyQT Dialog ...--// Error: 'ListLayersDialog' object has no attribute 'winEvent'
# Traceback (most recent call last):
# File "<maya console>", line 28, in <module>
# AttributeError: 'ListLayersDialog' object has no attribute 'winEvent' //
Here is the class code :
class ListLayersDialog(QtGui.QDialog):
def __init__(self, parent=maya_main_window()):
QtGui.QDialog.__init__(self, parent)
self.ui = Ui_frm_setup_passes()
self.ui.setupUi(self)
The form shows fine ... but the error still gets reported.
Any thoughts ?
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 python_inside_maya+unsub...@googlegroups.com.