canfestival/canfestival.py
changeset 1847 6198190bc121
parent 1846 14b40afccd69
child 1850 614396cbffbf
equal deleted inserted replaced
1846:14b40afccd69 1847:6198190bc121
   132             self.FilePath = ""
   132             self.FilePath = ""
   133             dialog = CreateNodeDialog(None, wx.OK)
   133             dialog = CreateNodeDialog(None, wx.OK)
   134             dialog.Type.Enable(False)
   134             dialog.Type.Enable(False)
   135             dialog.GenSYNC.Enable(False)
   135             dialog.GenSYNC.Enable(False)
   136             if dialog.ShowModal() == wx.ID_OK:
   136             if dialog.ShowModal() == wx.ID_OK:
   137                 name, id, nodetype, description = dialog.GetValues()
   137                 name, id, _nodetype, description = dialog.GetValues()
   138                 profile, filepath = dialog.GetProfile()
   138                 profile, filepath = dialog.GetProfile()
   139                 NMT = dialog.GetNMTManagement()
   139                 NMT = dialog.GetNMTManagement()
   140                 options = dialog.GetOptions()
   140                 options = dialog.GetOptions()
   141                 self.CreateNewNode(name,         # Name - will be changed at build time
   141                 self.CreateNewNode(name,         # Name - will be changed at build time
   142                                    id,           # NodeID - will be changed at build time
   142                                    id,           # NodeID - will be changed at build time