src/eric7/Debugger/VariablesViewer.py

branch
eric7
changeset 10305
3fe0ba548fe5
parent 10065
de4ae767b0e3
child 10332
7308cfc6e558
equal deleted inserted replaced
10304:ff7d3d6b952d 10305:3fe0ba548fe5
146 self.value = VariableItem.unsized 146 self.value = VariableItem.unsized
147 else: 147 else:
148 self.value = VariableItem.noOfItemsStr.format(length_code) 148 self.value = VariableItem.noOfItemsStr.format(length_code)
149 149
150 if dtype != "str": 150 if dtype != "str":
151 if self.value is None:
152 return
153
151 if len(self.value) > 256: 154 if len(self.value) > 256:
152 self.valueShort = QCoreApplication.translate( 155 self.valueShort = QCoreApplication.translate(
153 "VariableItem", "<double click to show value>" 156 "VariableItem", "<double click to show value>"
154 ) 157 )
155 else: 158 else:

eric ide

mercurial