controls/VariablePanel.py
changeset 731 4e30c1c0922d
parent 720 2a9d4eafaddd
child 738 1ccd08cfae0c
--- a/controls/VariablePanel.py	Thu Jul 26 11:44:19 2012 +0200
+++ b/controls/VariablePanel.py	Fri Jul 27 15:44:42 2012 +0200
@@ -172,7 +172,7 @@
                                 editor = wx.grid.GridCellTextEditor()
                                 renderer = wx.grid.GridCellStringRenderer()
                         elif colname == "Initial Value":
-                            if var_class != "External":
+                            if var_class not in ["External", "InOut"]:
                                 if self.Parent.Controler.IsEnumeratedType(var_type):
                                     editor = wx.grid.GridCellChoiceEditor()
                                     editor.SetParameters(",".join(self.Parent.Controler.GetEnumeratedDataValues(var_type)))