mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Init flag to prevent duplicate window events
This commit is contained in:
parent
2e8f3f414b
commit
854a937da5
@ -301,6 +301,8 @@ const FileManager = (() => {
|
||||
|
||||
Events.on("click", "select-image", () => document.getElementById('import-image-browse-holder')?.click());
|
||||
Events.on("click", "import-image-confirm", importImage);
|
||||
|
||||
this.isImportWindowInitialized = true;
|
||||
}
|
||||
|
||||
Dialogue.showDialogue('import-image', false);
|
||||
|
Loading…
Reference in New Issue
Block a user