summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--launcher/components/Clip.qml2
-rw-r--r--launcher/components/Emoji.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/launcher/components/Clip.qml b/launcher/components/Clip.qml
index 66c3ea9..0cde5fa 100644
--- a/launcher/components/Clip.qml
+++ b/launcher/components/Clip.qml
@@ -10,7 +10,7 @@ import qs.config
IComponent {
id: root
- property var clipHist: Clip.query(inputCleaned)
+ property var clipHist: active ? Clip.query(inputCleaned) : []
property int selectedIndex: -1
property bool mouseTriggered: false
diff --git a/launcher/components/Emoji.qml b/launcher/components/Emoji.qml
index 57be01a..bc79e71 100644
--- a/launcher/components/Emoji.qml
+++ b/launcher/components/Emoji.qml
@@ -10,7 +10,7 @@ import qs.config
IComponent {
id: root
- property var emojis: Emoji.query(input)
+ property var emojis: active ? Emoji.query(input) : []
property int selectedIndex: -1
property int cols: Math.max(1, Math.floor(innerLoader.width / Math.max(1, Math.round(Launcher.widgetFontSize * 4))))