Revert changes 24923 and 24939. These caused the value to be set to the first item in the list of enum values whenever a new editor was created, which is not the desired behavior.
Revert changes 24923 and 24939. These caused the value to be set to the first item in the list of enum values whenever a new editor was created, which is not the desired behavior.

pankajp/pyface,geggo/pyface,geggo/pyface,brett-patterson/pyface