From 98b283f5c1dd4d7a13aa4678a4495e60163c7d5a Mon Sep 17 00:00:00 2001 From: Lost Paul <70213368+LostPaul@users.noreply.github.com> Date: Mon, 20 Mar 2023 22:45:42 +0100 Subject: [PATCH] Update deleteConfirmation.ts --- src/modals/deleteConfirmation.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modals/deleteConfirmation.ts b/src/modals/deleteConfirmation.ts index fad9a67..88fac8c 100644 --- a/src/modals/deleteConfirmation.ts +++ b/src/modals/deleteConfirmation.ts @@ -29,6 +29,7 @@ export default class DeleteConfirmationModal extends Modal { } else { this.plugin.settings.showDeleteConfirmation = true; } + this.plugin.saveSettings(); }); const checkBoxText = buttonContainer.createEl('span', { text: 'Don\'t ask again' }); checkBoxText.addEventListener('click', () => {