[Editor] Avoid to have several Undo entries in the context menu (bug 1995705)

This commit is contained in:
Calixte Denizet 2025-10-22 19:45:52 +02:00
parent a6934b478f
commit 19cbdba434

View File

@ -1537,12 +1537,12 @@ class AnnotationEditorUIManager {
addEditListeners() {
this.#addKeyboardManager();
this.#addCopyPasteListeners();
this.setEditingState(true);
}
removeEditListeners() {
this.#removeKeyboardManager();
this.#removeCopyPasteListeners();
this.setEditingState(false);
}
dragOver(event) {