code: def atype_save(self):
          
          if not self.cur_atype:
              return
  
          desc = self.atype_desc_pte.toPlainText()
          self.cur_atype.description = desc
          self.cur_atype.save()
docs: Save the current atype
  
          :returns: None
          :rtype: None
          :raises: None