Merge pull request #15231 from calixteman/bug1781763

[Editor] Don't set as active an editor which is not (bug 1781763)
This commit is contained in:
calixteman 2022-07-27 18:45:07 +02:00 committed by GitHub
commit 45b9e8417d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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