code: def on_enter_fit_name(self, event):
          
          if self.current_fit == None:
              self.on_btn_add_fit(event)
          value = self.fit_box.GetValue()
          if ':' in value:
              name, color = value.split(':')
          else:
              name, color = value, None
          if name in [x.name for x in self.pmag_results_data['specimens'][self.s]]:
              print('bad name')
              return
          self.current_fit.name = name
          if color in list(self.color_dict.keys()):
              self.current_fit.color = self.color_dict[color]
          self.update_fit_boxes()
          self.plot_high_levels_data()
docs: Allows the entering of new fit names in the fit combobox
  
          Parameters
          ----------
          event : the wx.ComboBoxEvent that triggers this function
  
          Alters
          ------
          current_fit.name