ref #6694 Set pattern when creating a new feature tree