From 7c611e8ca88e7a47d30796874d9cf845db82b142 Mon Sep 17 00:00:00 2001 From: Adam Treat Date: Thu, 13 Apr 2023 20:06:46 -0400 Subject: [PATCH] Disable the text field from user interaction. --- main.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.qml b/main.qml index 20b25ec1..299559ba 100644 --- a/main.qml +++ b/main.qml @@ -25,7 +25,7 @@ Window { height: childrenRect.height visible: LLM.isModelLoaded - TextField { + Label { id: modelNameField color: "#d1d5db" padding: 20 @@ -34,7 +34,6 @@ Window { background: Rectangle { color: "#202123" } - focus: false horizontalAlignment: TextInput.AlignHCenter } } @@ -308,6 +307,7 @@ Window { color: "#d1d5db" wrapMode: Text.WordWrap focus: false + readOnly: true padding: 20 font.pixelSize: 24 cursorVisible: currentResponse ? (LLM.response !== "" ? LLM.responseInProgress : false) : false