eric7/Debugger/VariablesViewer.py

branch
eric7
changeset 8356
68ec9c3d4de5
parent 8318
962bce857696
child 8358
144a6b854f70
diff -r 8a7677a63c8d -r 68ec9c3d4de5 eric7/Debugger/VariablesViewer.py
--- a/eric7/Debugger/VariablesViewer.py	Sat May 22 17:01:51 2021 +0200
+++ b/eric7/Debugger/VariablesViewer.py	Sat May 22 18:51:46 2021 +0200
@@ -18,7 +18,7 @@
 from PyQt6.QtGui import QBrush, QFontMetrics
 from PyQt6.QtWidgets import QTreeView, QAbstractItemView, QToolTip, QMenu
 
-from E5Gui.E5Application import e5App
+from E5Gui.EricApplication import ericApp
 
 from .Config import ConfigVarTypeDispStrings
 from DebugClients.Python.DebugConfig import ConfigQtNames, ConfigKnownQtTypes
@@ -778,10 +778,10 @@
         # step 3: get a pathlist up to the requested variable
         pathlist = self.__buildTreePath(node)
         # step 4: request the variable from the debugger
-        variablesFilter = e5App().getObject("DebugUI").variablesFilter(
+        variablesFilter = ericApp().getObject("DebugUI").variablesFilter(
             self.__globalScope)
-        e5App().getObject("DebugServer").remoteClientVariable(
-            e5App().getObject("DebugUI").getSelectedDebuggerId(),
+        ericApp().getObject("DebugServer").remoteClientVariable(
+            ericApp().getObject("DebugUI").getSelectedDebuggerId(),
             self.__globalScope, variablesFilter, pathlist, self.framenr)
     
     def setExpanded(self, index, state):
@@ -1194,14 +1194,14 @@
         """
         Private method to open the configuration dialog.
         """
-        e5App().getObject("UserInterface").showPreferences(
+        ericApp().getObject("UserInterface").showPreferences(
             "debuggerGeneralPage")
     
     def __configureFilter(self):
         """
         Private method to open the variables filter dialog.
         """
-        e5App().getObject("DebugUI").dbgFilterAct.triggered.emit()
+        ericApp().getObject("DebugUI").dbgFilterAct.triggered.emit()
 
 #
 # eflag: noqa = M822

eric ide

mercurial