Skip to content

Commit

Permalink
Fixing Note lines deleted while editing,
Browse files Browse the repository at this point in the history
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
  • Loading branch information
arvibuddy committed Oct 17, 2023
1 parent 0489479 commit 4217ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Details.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 4217ffe

Please # to comment.