summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-08-18 15:17:40 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-08-19 20:15:22 +0800
commit6632df6ceea03ce1f9fc92427438b8cb73793b03 (patch)
tree8071e3bd0bc2a95048569f26c06fc7aaea925761
parent47b7722e4dcc750bdad71731977e0cdb1d95b022 (diff)
fix(Clip): readonly textedit preview
-rw-r--r--launcher/components/Clip.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/launcher/components/Clip.qml b/launcher/components/Clip.qml
index b15df8c..880a1da 100644
--- a/launcher/components/Clip.qml
+++ b/launcher/components/Clip.qml
@@ -180,6 +180,7 @@ IComponent {
sourceComponent: clipHist[selectedIndex]?.type === "image" ? img : text
property Component text: TextEdit {
id: textEdit
+ readOnly: true
width: preview.width
color: Colors.foreground1
selectionColor: Colors.background3