src/eric7/Debugger/WatchPointViewer.py

branch
eric7
changeset 9482
a2bc06a54d9d
parent 9473
3f23dbf37dbe
child 9573
9960d19d66b5
--- a/src/eric7/Debugger/WatchPointViewer.py	Sun Nov 06 11:22:39 2022 +0100
+++ b/src/eric7/Debugger/WatchPointViewer.py	Mon Nov 07 17:19:58 2022 +0100
@@ -285,6 +285,8 @@
 
         @param index index of watch expression to be edited (QModelIndex)
         """
+        from .EditWatchpointDialog import EditWatchpointDialog
+
         sindex = self.__toSourceIndex(index)
         if sindex.isValid():
             wp = self.__model.getWatchPointByIndex(sindex)
@@ -293,8 +295,6 @@
 
             cond, special, temp, enabled, count = wp[:5]
 
-            from .EditWatchpointDialog import EditWatchpointDialog
-
             dlg = EditWatchpointDialog((cond, temp, enabled, count, special), self)
             if dlg.exec() == QDialog.DialogCode.Accepted:
                 cond, temp, enabled, count, special = dlg.getData()

eric ide

mercurial