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 [email protected].
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.

Reply via email to