D4 Key Editor Note Spelling

I’m sure I must be missing something very obvious here.
I have a score in Db major. When I enter a note in the key editor the spelling is incoorect. Eb displaying as D#

Always, or following certain notes? Dorico takes context into account for enharmonic spelling.

You’re right - it does look like notes entered using the pencil tool in the key editor aren’t being spelled the same way as for other sorts of input. We’ll take a look, thanks.