Change setEditor behavior