From 861c19e70623578b21a2f1d54d0831736ac25005 Mon Sep 17 00:00:00 2001 From: Alex Spataru Date: Thu, 2 Jan 2025 01:06:03 -0500 Subject: [PATCH] Fix undefined reference error --- app/qml/ProjectEditor/Views/TableDelegate.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/qml/ProjectEditor/Views/TableDelegate.qml b/app/qml/ProjectEditor/Views/TableDelegate.qml index 38df2525..d281084d 100644 --- a/app/qml/ProjectEditor/Views/TableDelegate.qml +++ b/app/qml/ProjectEditor/Views/TableDelegate.qml @@ -472,7 +472,7 @@ ColumnLayout { const adjustment = spacesBeforeCursorFormatted - spacesBeforeCursorOriginal + lengthDifference; // Restore the cursor position with adjustment - _hexComponent.cursorPosition = Math.min(currentCursorPosition + adjustment, send.text.length); + _hexComponent.cursorPosition = Math.min(currentCursorPosition + adjustment, _hexComponent.text.length); } }