From 526cb07840f54759b40546b94b9dc6fe88e2b834 Mon Sep 17 00:00:00 2001 From: James Graham Date: Sun, 8 Feb 2026 16:55:59 +0000 Subject: [PATCH] Note where nestedlisthelper has been changed --- src/libneochat/nestedlisthelper.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libneochat/nestedlisthelper.cpp b/src/libneochat/nestedlisthelper.cpp index 51f4bd2c9..e17f82f9d 100644 --- a/src/libneochat/nestedlisthelper.cpp +++ b/src/libneochat/nestedlisthelper.cpp @@ -39,6 +39,7 @@ bool NestedListHelper::handleBeforeKeyPressEvent(QKeyEvent *event, const QTextCu bool NestedListHelper::canIndent(const QTextCursor &textCursor) const { + // Note modified from the original const auto block = textCursor.block(); if (textCursor.isNull() || !block.isValid()) { return false; @@ -53,6 +54,7 @@ bool NestedListHelper::canIndent(const QTextCursor &textCursor) const bool NestedListHelper::canDedent(const QTextCursor &textCursor) const { + // Note modified from the original const auto block = textCursor.block(); if (textCursor.isNull() || !block.isValid()) { return false;