From ceb0dd8a09ea10adbc1dc82c5f0f11a0bedc0183 Mon Sep 17 00:00:00 2001 From: arvibuddy <111645029+arvibuddy@users.noreply.github.com> Date: Tue, 17 Oct 2023 23:28:57 +0530 Subject: [PATCH] Fixing Note lines 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: {