--- a/VariablePanel.py Tue Dec 15 11:31:23 2009 +0100
+++ b/VariablePanel.py Tue Dec 15 16:30:39 2009 +0100
@@ -761,8 +761,7 @@
datatype_menu = wx.Menu(title='')
# TODO : remove complextypes argument when matiec can manage complex types in pou interface
- datatypes = self.Controler.GetDataTypes(basetypes = False,
- complextypes = self.Table.GetValueByName(row, "Class") not in ["Input", "Ouput", "InOut"])
+ datatypes = self.Controler.GetDataTypes(basetypes = False)
for datatype in datatypes:
new_id = wx.NewId()
AppendMenu(datatype_menu, help='', id=new_id, kind=wx.ITEM_NORMAL, text=datatype)