Hey Marcus,

Thanks for getting back to me. 
About the close event that you have mentioned, it certainly is similar to a 
link I have found

class mainWindow(QDialog):
    def __init__(self, parent=None):
        super(mainWindow, self).__init__(parent)
        self.wantToClose = False

    def closeEvent(self, event):
        self.wantToClose = True
        if self.wantToClose:
            print "closing"
            super(mainWindow, self).closeEvent(event)
            #self.importAnim()
        else:
            print "still opened, not closing"
            event.ignore()

Nevertheless I am very much intrigued by the world of coding :D

-- 
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/7cf51045-cd6f-4dff-aac3-51de155c20a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to