Bug on removing action fixed
authorlbessard
Wed, 04 Jun 2008 17:48:26 +0200
changeset 212 e36ba4f15fc8
parent 211 ac7ba3dc027b
child 213 4931959ea256
Bug on removing action fixed
PLCOpenEditor.py
--- a/PLCOpenEditor.py	Fri May 23 19:29:41 2008 +0200
+++ b/PLCOpenEditor.py	Wed Jun 04 17:48:26 2008 +0200
@@ -1943,7 +1943,7 @@
     def OnRemoveActionMenu(self, event):
         selected = self.ProjectTree.GetSelection()
         if self.ProjectTree.GetPyData(selected) == ITEM_ACTION: 
-            transition = self.ProjectTree.GetItemText(selected)
+            action = self.ProjectTree.GetItemText(selected)
             item = self.ProjectTree.GetItemParent(selected)
             item_type = self.ProjectTree.GetPyData(item)
             while item_type != ITEM_POU: