ref #6694 Make text field editable only when feature tree is selected