RefactoringRope/FileSystemCommands.py

branch
eric7
changeset 365
f740b50380df
parent 354
a967ff16629a
child 374
958f34e97952
--- a/RefactoringRope/FileSystemCommands.py	Wed May 26 17:53:08 2021 +0200
+++ b/RefactoringRope/FileSystemCommands.py	Wed May 26 19:07:42 2021 +0200
@@ -91,7 +91,7 @@
         self.__normal_actions.write(path, data)
 
 
-class E5FileSystemCommands:
+class EricFileSystemCommands:
     """
     Class implementing file system commands for rope.
     """
@@ -177,8 +177,8 @@
             if os.path.isdir(path):
                 self.__project.removeDirectory(path)
             else:
-                from E5Gui.E5Application import e5App
-                e5App().getObject("ViewManager").closeWindow(path)
+                from EricWidgets.EricApplication import ericApp
+                ericApp().getObject("ViewManager").closeWindow(path)
                 self.__project.removeFile(path)
         else:
             vcs.vcsRemove(path, noDialog=True)

eric ide

mercurial