From 03ee45cc1c4b4a868ef028b236b6b79039b31043 Mon Sep 17 00:00:00 2001 From: Grol Grol Date: Sat, 12 Apr 2025 10:55:26 +0300 Subject: [PATCH] v upd, fix bug #10 --- manifest.json | 2 +- src/SyncController.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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; }