RefactoringRope/RefactoringDialogBase.py

changeset 46
a726d19facfc
parent 43
39924831c795
child 50
a29c3d2e6dc0
child 55
d501156be247
--- a/RefactoringRope/RefactoringDialogBase.py	Sat Feb 09 11:32:10 2013 +0100
+++ b/RefactoringRope/RefactoringDialogBase.py	Sat Feb 23 15:28:39 2013 +0100
@@ -12,9 +12,6 @@
 
 from E5Gui.E5Application import e5App
 
-from ChangesPreviewDialog import ChangesPreviewDialog
-from ProgressHandle import ProgressHandle
-
 
 class RefactoringDialogBase(QDialog):
     """
@@ -44,6 +41,7 @@
         @param interruptable flag indicating, that the task may be
             interrupted (boolean)
         """
+        from ProgressHandle import ProgressHandle
         self.__handle = ProgressHandle(self._title, interruptable, self)
         self.__handle.show()
         QApplication.processEvents()
@@ -78,6 +76,7 @@
         changes = self.__getChanges()
         
         if changes is not None:
+            from ChangesPreviewDialog import ChangesPreviewDialog
             dlg = ChangesPreviewDialog(changes, self)
             if dlg.exec_() == QDialog.Accepted:
                 self.applyChanges(changes)

eric ide

mercurial