summaryrefslogtreecommitdiff
path: root/modules/notifications/Notification.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-10 23:36:07 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-10 23:36:07 +1000
commit253fb6857877d1b4fdea6776e7f91baeec675e13 (patch)
tree98803964a82a3ea351024a1206d217af7ad44370 /modules/notifications/Notification.qml
parentnotifs: add guess (diff)
downloadcaelestia-shell-253fb6857877d1b4fdea6776e7f91baeec675e13.tar.gz
caelestia-shell-253fb6857877d1b4fdea6776e7f91baeec675e13.tar.bz2
caelestia-shell-253fb6857877d1b4fdea6776e7f91baeec675e13.zip
notifs: optional action on click
Diffstat (limited to 'modules/notifications/Notification.qml')
-rw-r--r--modules/notifications/Notification.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/notifications/Notification.qml b/modules/notifications/Notification.qml
index 11acf1c..cb067f9 100644
--- a/modules/notifications/Notification.qml
+++ b/modules/notifications/Notification.qml
@@ -59,7 +59,7 @@ StyledRect {
}
}
onClicked: event => {
- if (event.button !== Qt.LeftButton)
+ if (!NotifsConfig.actionOnClick || event.button !== Qt.LeftButton)
return;
const actions = root.modelData.actions;