changeset 878 | 37256069baed |
parent 814 | 5743cbdff669 |
child 887 | d3c6c4ab8b28 |
--- a/controls/DebugVariablePanel.py Mon Nov 05 20:16:45 2012 +0100 +++ b/controls/DebugVariablePanel.py Thu Nov 08 18:23:32 2012 +0100 @@ -69,6 +69,11 @@ self.Parent.HasNewData = True def GetValue(self): + variable_type = self.Parent.GetDataType(self.Variable.upper()) + if variable_type == "STRING": + return "'%s'" % self.Value + elif variable_type == "WSTRING": + return "\"%s\"" % self.Value return self.Value class DebugVariableTable(CustomTable):