--- 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