Fix bug with string editor and enumSource.