editors/CodeFileEditor.py
branchsvghmi
changeset 3254 b1bc6099d4e5
parent 3246 0e8dbc2c390e
child 3303 0ffb41625592
--- a/editors/CodeFileEditor.py	Wed Jun 09 15:28:00 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()