editors/CodeFileEditor.py
branchsvghmi
changeset 3255 07f10dc95d2f
parent 3254 b1bc6099d4e5
child 3303 0ffb41625592
--- a/editors/CodeFileEditor.py	Thu Jun 10 13:47:58 2021 +0200
+++ b/editors/CodeFileEditor.py	Thu Jun 10 14:05:44 2021 +0200
@@ -857,8 +857,9 @@
             row = event.GetRow()
             data_type = self.Table.GetValueByName(row, "Type")
             var_name = self.Table.GetValueByName(row, "Name")
+            desc = self.Table.GetValueByName(row, "Description")
             data = wx.TextDataObject(str((var_name, "Global", data_type,
-                                          self.Controler.GetCurrentLocation())))
+                                          self.Controler.GetCurrentLocation(), desc)))
             dragSource = wx.DropSource(self.VariablesGrid)
             dragSource.SetData(data)
             dragSource.DoDragDrop()