controls/VariablePanel.py
changeset 1752 d14ff9d7eb76
parent 1749 d73b64672238
child 1754 63f4af6bf6d9
equal deleted inserted replaced
1751:c28db6f7616b 1752:d14ff9d7eb76
   155     def _GetRowEdit(self, row):
   155     def _GetRowEdit(self, row):
   156         row_edit = self.GetValueByName(row, "Edit")
   156         row_edit = self.GetValueByName(row, "Edit")
   157         var_type = self.Parent.GetTagName()
   157         var_type = self.Parent.GetTagName()
   158         bodytype = self.Parent.Controler.GetEditedElementBodyType(var_type)
   158         bodytype = self.Parent.Controler.GetEditedElementBodyType(var_type)
   159         if bodytype in ["ST", "IL"]:
   159         if bodytype in ["ST", "IL"]:
   160             row_edit = True;
   160             row_edit = True
   161         return row_edit
   161         return row_edit
   162 
   162 
   163     def _updateColAttrs(self, grid):
   163     def _updateColAttrs(self, grid):
   164         """
   164         """
   165         wx.grid.Grid -> update the column attributes to add the
   165         wx.grid.Grid -> update the column attributes to add the