diff -r 8a7677a63c8d -r 68ec9c3d4de5 eric7/UI/PythonDisViewer.py --- a/eric7/UI/PythonDisViewer.py Sat May 22 17:01:51 2021 +0200 +++ b/eric7/UI/PythonDisViewer.py Sat May 22 18:51:46 2021 +0200 @@ -20,8 +20,8 @@ QTreeWidgetItem, QAbstractItemView, QWidget, QMenu ) -from E5Gui.E5Application import e5App -from E5Gui.E5OverrideCursor import E5OverrideCursor +from E5Gui.EricApplication import ericApp +from E5Gui.EricOverrideCursor import EricOverrideCursor import Preferences @@ -475,7 +475,7 @@ filename = self.__editor.getFileName() filename = os.path.basename(filename) if filename else "<dis>" - with E5OverrideCursor(): + with EricOverrideCursor(): try: codeObject = self.__tryCompile(source, filename) except Exception as exc: @@ -886,5 +886,5 @@ """ Private method to open the configuration dialog. """ - e5App().getObject("UserInterface").showPreferences( + ericApp().getObject("UserInterface").showPreferences( "pythonPage")