eric6/Debugger/VariablesViewer.py

branch
Variables Viewer
changeset 7019
a1b25790bc5c
parent 7016
47f6b0c3a293
child 7030
73779c4c135a
--- a/eric6/Debugger/VariablesViewer.py	Mon May 20 22:44:12 2019 +0200
+++ b/eric6/Debugger/VariablesViewer.py	Tue May 21 22:44:17 2019 +0200
@@ -151,6 +151,11 @@
         elif dtype in ('instance', 'class'):
             self.hasChildren = True
         
+        # Special Qt types should not be expanded infinite
+        elif ".{0}".format(dtype) in ConfigKnownQtTypes:
+            self.type = dtype  # It's a Qt type, so skipping translation is ok
+            return
+        
         vtype = ConfigVarTypeDispStrings.get(dtype, dtype)
         # Unkown types should be expandable by default
         if vtype is dtype and dtype not in self.nonExpandableTypes:

eric ide

mercurial