diff -r 8a7677a63c8d -r 68ec9c3d4de5 eric7/UI/PythonAstViewer.py --- a/eric7/UI/PythonAstViewer.py Sat May 22 17:01:51 2021 +0200 +++ b/eric7/UI/PythonAstViewer.py Sat May 22 18:51:46 2021 +0200 @@ -18,7 +18,7 @@ from asttokens import ASTTokens -from E5Gui.E5OverrideCursor import E5OverrideCursor +from E5Gui.EricOverrideCursor import EricOverrideCursor import Preferences @@ -232,7 +232,7 @@ )) return - with E5OverrideCursor(): + with EricOverrideCursor(): try: # generate the AST root = ast.parse(source, self.__editor.getFileName(), "exec")