From d813528255f666f101171e399cef3641282478c6 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