Exemple #1
0
def checkForCancel():
    if not _progressing:
        return
    if _uiProgress:
        if MProgressWindow.isCancelled():
            raise npy.Errors.AbortError("Operation cancelled by user")
Exemple #2
0
def checkForCancel():
	if not _progressing:
		return
	if _uiProgress:
		if MProgressWindow.isCancelled():
			raise npy.Errors.AbortError("Operation cancelled by user")