From 4217ffe5ba56d2264afe5141d488f7b92662a79f Mon Sep 17 00:00:00 2001 From: Arvind Date: Tue, 17 Oct 2023 22:57:06 +0530 Subject: [PATCH] Fixing Note lines deleted while editing, The code inside isBlocked is causing the cursor shift left leading to some text got deleted, Verified with isBlocked=true nad issue id not reproducible --- Details.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Details.qml b/Details.qml index aded9ebe..2eac6a93 100644 --- a/Details.qml +++ b/Details.qml @@ -358,7 +358,7 @@ Page { detailPage.prepareNoteView(plainText, lastCurserPosition) mainView.updateNote(detailPage.currentDetailId, plainText, detailPage.currentDetailHasBadge) } - if (lastCurserPosition === detailEdit.cursorPosition) isBlocked = false + if (lastCurserPosition === detailEdit.cursorPosition) isBlocked = true } onActiveFocusChanged: {