Merged with Variables Viewer fixes.

Wed, 22 May 2019 18:44:36 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 22 May 2019 18:44:36 +0200
changeset 7020
7c7d96c28872
parent 7017
11a018e92f01 (current diff)
parent 7019
a1b25790bc5c (diff)
child 7021
2894aa889a4e

Merged with Variables Viewer fixes.

--- a/eric6/Debugger/VariablesViewer.py	Sun May 19 13:18:38 2019 +0200
+++ b/eric6/Debugger/VariablesViewer.py	Wed May 22 18:44:36 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