summaryrefslogtreecommitdiff
path: root/modules/launcher/Content.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/launcher/Content.qml')
-rw-r--r--modules/launcher/Content.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/launcher/Content.qml b/modules/launcher/Content.qml
index 26496a6..486b67a 100644
--- a/modules/launcher/Content.qml
+++ b/modules/launcher/Content.qml
@@ -86,7 +86,10 @@ Item {
Wallpapers.setWallpaper(currentItem.modelData.path);
root.visibilities.launcher = false;
} else if (text.startsWith(Config.launcher.actionPrefix)) {
- currentItem.modelData.onClicked(list.currentList);
+ if (text.startsWith(`${Config.launcher.actionPrefix}calc `))
+ currentItem.onClicked();
+ else
+ currentItem.modelData.onClicked(list.currentList);
} else {
Apps.launch(currentItem.modelData);
root.visibilities.launcher = false;