[Editor] Don't set as active an editor which is not (bug 1781763)

This commit is contained in:
Calixte Denizet 2022-07-27 14:46:36 +02:00
parent 8ebd2d3dfd
commit 59580d8986

View File

@ -255,7 +255,6 @@ class FreeTextEditor extends AnnotationEditor {
onceAdded() { onceAdded() {
if (this.width) { if (this.width) {
// The editor was created in using ctrl+c. // The editor was created in using ctrl+c.
this.parent.setActiveEditor(this);
return; return;
} }
this.enableEditMode(); this.enableEditMode();