eric6/DebugClients/Python/DebugClientBase.py

changeset 7775
4a1db75550bd
parent 7769
c9f64088224b
child 7785
9978016560ec
diff -r 9eed155411f0 -r 4a1db75550bd eric6/DebugClients/Python/DebugClientBase.py
--- a/eric6/DebugClients/Python/DebugClientBase.py	Sat Oct 10 16:03:53 2020 +0200
+++ b/eric6/DebugClients/Python/DebugClientBase.py	Sun Oct 11 17:54:52 2020 +0200
@@ -1648,7 +1648,7 @@
                     ("internalId", "int", "{0}".format(value.internalId())))
                 varlist.append(("internalPointer", "void *",
                                 "{0}".format(value.internalPointer())))
-        elif qttype == 'QRegExp':
+        elif qttype in ('QRegExp', "QRegularExpression"):
             varlist.append(("pattern", "str", "{0}".format(value.pattern())))
         
         # GUI stuff

eric ide

mercurial