eric6/DebugClients/Python/DebugVariables.py

branch
Variables Viewer
changeset 6978
720247f98e1f
parent 6969
fd7af2312383
child 6988
87ad87ef1910
diff -r bb4d5692f966 -r 720247f98e1f eric6/DebugClients/Python/DebugVariables.py
--- a/eric6/DebugClients/Python/DebugVariables.py	Mon Apr 22 10:38:32 2019 +0200
+++ b/eric6/DebugClients/Python/DebugVariables.py	Sat Apr 27 22:06:38 2019 +0200
@@ -9,7 +9,7 @@
 
 import sys
 
-from DebugConfig import ConfigQtNames, BatchSize
+from DebugConfig import ConfigQtNames, ConfigKnownQtTypes, BatchSize
 
 #
 # This code was inspired by pydevd.
@@ -657,7 +657,8 @@
     typeStr = str(typeObject).split(' ', 1)[-1]
     typeStr = typeStr[1:-2]
     
-    if typeStr.startswith(ConfigQtNames):
+    if (typeStr.startswith(ConfigQtNames) and
+            typeStr.endswith(ConfigKnownQtTypes)):
         resolver = None
     else:
         if _TypeMap is None:

eric ide

mercurial