controls/DebugVariablePanel.py
changeset 898 6b2958f04f30
parent 895 f5a28011d551
child 902 ffa8ee5ee2fe
--- a/controls/DebugVariablePanel.py	Tue Dec 11 01:17:52 2012 +0100
+++ b/controls/DebugVariablePanel.py	Tue Dec 11 01:19:42 2012 +0100
@@ -457,7 +457,7 @@
     def OnVariablesGridCellLeftClick(self, event):
         if event.GetCol() == 0:
             row = event.GetRow()
-            data = wx.TextDataObject(str(self.Table.GetValueByName(row, "Variable")))
+            data = wx.TextDataObject(str((self.Table.GetValueByName(row, "Variable"), "debug")))
             dragSource = wx.DropSource(self.VariablesGrid)
             dragSource.SetData(data)
             dragSource.DoDragDrop()