diff --git a/manifest.json b/manifest.json index 4128d40..efad7b5 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "checkbox-sync", "name": "Checkbox Sync", - "version": "1.0.9", + "version": "1.0.10", "minAppVersion": "0.12.0", "description": "Automatically checks the parent checkbox if all child checkboxes are completed, and unchecks it otherwise.", "author": "Grol", diff --git a/src/SyncController.ts b/src/SyncController.ts index 0285ce8..75abc12 100644 --- a/src/SyncController.ts +++ b/src/SyncController.ts @@ -31,6 +31,7 @@ export default class SyncController { let newText = this.checkboxUtils.syncText(text, textBefore); if (newText === text) { + this.fileStateHolder.set(file, newText); console.log(`sync editor "${file.basename}" stop. new text equals old text.`); return; }