Merge pull request #17011 from Snuffleupagus/altText-destroy-keep-#currentEditor
Don't reset `this.#currentEditor` when destroying the dialog
This commit is contained in:
commit
d555f351d3
@ -307,8 +307,7 @@ class AltTextManager {
|
||||
}
|
||||
|
||||
destroy() {
|
||||
this.#currentEditor = null;
|
||||
this.#uiManager = null;
|
||||
this.#uiManager = null; // Avoid re-adding the edit listeners.
|
||||
this.#finish();
|
||||
this.#svgElement?.remove();
|
||||
this.#svgElement = this.#rectElement = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user