author | lbessard |
Mon, 10 Dec 2007 11:17:38 +0100 | |
changeset 133 | 960b8e7f71bb |
parent 132 | 3aaf349203bc |
child 134 | 6715fd958477 |
PLCOpenEditor.py | file | annotate | diff | comparison | revisions |
--- a/PLCOpenEditor.py Mon Dec 10 11:13:25 2007 +0100 +++ b/PLCOpenEditor.py Mon Dec 10 11:17:38 2007 +0100 @@ -1015,7 +1015,7 @@ def OnProjectTreeBeginDrag(self, event): if wx.Platform == '__WXMSW__': - self.SelectItem = event.Skip() + self.SelectedItem = event.Skip() if self.SelectedItem is not None and self.ProjectTree.GetPyData(self.SelectedItem) == ITEM_POU: block_name = self.ProjectTree.GetItemText(self.SelectedItem) block_type = self.Controler.GetPouType(block_name)