src/eric7/Debugger/VariablesViewer.py

branch
eric7
changeset 10305
3fe0ba548fe5
parent 10065
de4ae767b0e3
child 10332
7308cfc6e558
--- a/src/eric7/Debugger/VariablesViewer.py	Sat Nov 11 16:21:15 2023 +0100
+++ b/src/eric7/Debugger/VariablesViewer.py	Mon Nov 13 10:29:40 2023 +0100
@@ -148,6 +148,9 @@
                 self.value = VariableItem.noOfItemsStr.format(length_code)
 
         if dtype != "str":
+            if self.value is None:
+                return
+
             if len(self.value) > 256:
                 self.valueShort = QCoreApplication.translate(
                     "VariableItem", "<double click to show value>"

eric ide

mercurial