editors/CodeFileEditor.py
changeset 2739 7278186a2083
parent 2737 38afed869ff6
child 3303 0ffb41625592
--- a/editors/CodeFileEditor.py	Tue May 25 15:05:38 2021 +0200
+++ b/editors/CodeFileEditor.py	Thu Jun 10 09:40:05 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()