VariablePanel.py
changeset 491 d22a4a95fd5e
parent 484 acef952101a5
child 494 c91644c2bfa7
--- 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)