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', () => {