From a3a55ba8d1d935cc885c770c74b1c402cacfc3e8 Mon Sep 17 00:00:00 2001 From: zach Date: Wed, 29 Apr 2026 20:16:03 +0200 Subject: [PATCH] double clicked --- Modules/Notifications/Sidebar/NotifDockList.qml | 4 ++++ Modules/Notifications/Sidebar/NotifGroupList.qml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Modules/Notifications/Sidebar/NotifDockList.qml b/Modules/Notifications/Sidebar/NotifDockList.qml index 7cb4f81..d82dc82 100644 --- a/Modules/Notifications/Sidebar/NotifDockList.qml +++ b/Modules/Notifications/Sidebar/NotifDockList.qml @@ -78,6 +78,10 @@ LazyListView { } } + onDoubleClicked: event => { + if (event.button === Qt.LeftButton) + notifInner.toggleExpand(!notifInner.expanded); + } onPositionChanged: event => { if (pressed) { const diffY = event.y - startY; diff --git a/Modules/Notifications/Sidebar/NotifGroupList.qml b/Modules/Notifications/Sidebar/NotifGroupList.qml index 28afd99..a86f3f7 100644 --- a/Modules/Notifications/Sidebar/NotifGroupList.qml +++ b/Modules/Notifications/Sidebar/NotifGroupList.qml @@ -79,6 +79,10 @@ LazyListView { Component.onCompleted: modelData?.lock(this) Component.onDestruction: modelData?.unlock(this) + onDoubleClicked: event => { + if (event.button === Qt.LeftButton) + root.requestToggleExpand(!root.expanded); + } onPositionChanged: event => { if (pressed && !root.expanded) { const diffY = event.y - startY;