Debugger/BreakPointViewer.py

changeset 2400
c1726b754f96
parent 2302
f29e9405c851
child 2525
8b507a9a2d40
child 2953
703452a2876f
--- a/Debugger/BreakPointViewer.py	Sun Feb 10 14:36:52 2013 +0100
+++ b/Debugger/BreakPointViewer.py	Sun Feb 10 14:48:24 2013 +0100
@@ -13,8 +13,6 @@
 
 from E5Gui.E5Application import e5App
 
-from .EditBreakpointDialog import EditBreakpointDialog
-
 
 class BreakPointViewer(QTreeView):
     """
@@ -218,6 +216,8 @@
         """
         Private slot to handle the add breakpoint context menu entry.
         """
+        from .EditBreakpointDialog import EditBreakpointDialog
+        
         dlg = EditBreakpointDialog((self.fnHistory[0], None), None,
             self.condHistory, self, modal=1, addMode=1,
             filenameHistory=self.fnHistory)
@@ -268,6 +268,7 @@
             
             fn, line, cond, temp, enabled, count = bp[:6]
             
+            from .EditBreakpointDialog import EditBreakpointDialog
             dlg = EditBreakpointDialog((fn, line), (cond, temp, enabled, count),
                 self.condHistory, self, modal=True)
             if dlg.exec_() == QDialog.Accepted:

eric ide

mercurial