summaryrefslogtreecommitdiff
path: root/popups/launcher/components/Clip.qml
diff options
context:
space:
mode:
Diffstat (limited to 'popups/launcher/components/Clip.qml')
-rw-r--r--popups/launcher/components/Clip.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/popups/launcher/components/Clip.qml b/popups/launcher/components/Clip.qml
index a180b80..2552b60 100644
--- a/popups/launcher/components/Clip.qml
+++ b/popups/launcher/components/Clip.qml
@@ -77,6 +77,8 @@ IComponent {
Qt.callLater(() => {
if (!root.visible || selectedIndex < 0 || selectedIndex >= listView.count)
return;
+
+ state.selectedPriority = root.getSelfPriority();
state.selected = listView.itemAtIndex(selectedIndex);
});
}
@@ -188,8 +190,8 @@ IComponent {
id: loader
sourceComponent: clipHist[selectedIndex]?.type === "image" ? img : text
property Component text: ITextEdit {
- animate: true
id: textEdit
+ animate: true
readOnly: true
wrapMode: TextEdit.Wrap
width: preview.width
@@ -209,7 +211,5 @@ IComponent {
}
}
- Component.onCompleted: {
-
- }
+ Component.onCompleted: {}
}