controls/VariablePanel.py
changeset 3302 c89fc366bebd
parent 3300 95fe62bfe920
child 3303 0ffb41625592
--- a/controls/VariablePanel.py	Wed Jun 30 15:44:32 2021 +0200
+++ b/controls/VariablePanel.py	Thu Sep 02 21:36:29 2021 +0200
@@ -956,7 +956,8 @@
             var_name = self.Table.GetValueByName(row, "Name")
             var_class = self.Table.GetValueByName(row, "Class")
             var_type = self.Table.GetValueByName(row, "Type")
-            data = wx.TextDataObject(str((var_name, var_class, var_type, self.TagName)))
+            var_doc = self.Table.GetValueByName(row, "Documentation")
+            data = wx.TextDataObject(str((var_name, var_class, var_type, self.TagName, var_doc)))
             dragSource = wx.DropSource(self.VariablesGrid)
             dragSource.SetData(data)
             dragSource.DoDragDrop()