eric6/Debugger/VariablesViewer.py

changeset 8228
772103b14c18
parent 8222
5994b80b8760
child 8230
8b5c6896655b
--- a/eric6/Debugger/VariablesViewer.py	Mon Apr 12 19:05:23 2021 +0200
+++ b/eric6/Debugger/VariablesViewer.py	Mon Apr 12 19:21:40 2021 +0200
@@ -145,11 +145,11 @@
         if dtype.startswith('class '):
             dtype = dtype[7:-1]
         # Qt related stuff?
-        elif (dtype.startswith(ConfigQtNames) and
-                dtype.endswith(ConfigKnownQtTypes)):
-            self.hasChildren = True
-            
-        elif dtype in ('instance', 'class'):
+        elif (
+            (dtype.startswith(ConfigQtNames) and
+             dtype.endswith(ConfigKnownQtTypes)) or
+            dtype in ('instance', 'class')
+        ):
             self.hasChildren = True
         
         # Special Qt types should not be expanded infinite

eric ide

mercurial