code: def do_auto_save(self):
          
          if not self.auto_save.GetValue():
              if self.current_fit:
                  if not self.current_fit.saved:
                      self.delete_fit(self.current_fit, specimen=self.s)
docs: Delete current fit if auto_save==False,
          unless current fit has explicitly been saved.