controls/VariablePanel.py
changeset 747 f36838792511
parent 738 1ccd08cfae0c
child 761 996515c4b394
equal deleted inserted replaced
746:963123fb4917 747:f36838792511
   678             event.Skip()
   678             event.Skip()
   679     
   679     
   680     def OnVariablesGridEditorShown(self, event):
   680     def OnVariablesGridEditorShown(self, event):
   681         row, col = event.GetRow(), event.GetCol() 
   681         row, col = event.GetRow(), event.GetCol() 
   682 
   682 
   683         label_value = self.Table.GetColLabelValue(col)
   683         label_value = self.Table.GetColLabelValue(col, False)
   684         if label_value == "Type":
   684         if label_value == "Type":
   685             type_menu = wx.Menu(title='')   # the root menu
   685             type_menu = wx.Menu(title='')   # the root menu
   686 
   686 
   687             # build a submenu containing standard IEC types
   687             # build a submenu containing standard IEC types
   688             base_menu = wx.Menu(title='')
   688             base_menu = wx.Menu(title='')