diff --git a/quickshell/Modals/NotificationModal.qml b/quickshell/Modals/NotificationModal.qml index 50bc1414..bbee0ab2 100644 --- a/quickshell/Modals/NotificationModal.qml +++ b/quickshell/Modals/NotificationModal.qml @@ -99,7 +99,6 @@ DankModal { } return; } - if (event.key === Qt.Key_Right) { if (notificationHeaderRef && notificationHeaderRef.currentTab === 0 && SettingsData.notificationHistoryEnabled) { notificationHeaderRef.currentTab = 1; diff --git a/quickshell/Modules/Notifications/Center/HistoryNotificationCard.qml b/quickshell/Modules/Notifications/Center/HistoryNotificationCard.qml index 74829bb7..9a23a831 100644 --- a/quickshell/Modules/Notifications/Center/HistoryNotificationCard.qml +++ b/quickshell/Modules/Notifications/Center/HistoryNotificationCard.qml @@ -15,7 +15,8 @@ Rectangle { Component.onCompleted: { Qt.callLater(() => { - __initialized = true; + if (root) + root.__initialized = true; }); } diff --git a/quickshell/Modules/Notifications/Center/HistoryNotificationList.qml b/quickshell/Modules/Notifications/Center/HistoryNotificationList.qml index d2faa6d7..3acf5cbc 100644 --- a/quickshell/Modules/Notifications/Center/HistoryNotificationList.qml +++ b/quickshell/Modules/Notifications/Center/HistoryNotificationList.qml @@ -257,7 +257,8 @@ Item { Component.onCompleted: { Qt.callLater(() => { - __delegateInitialized = true; + if (delegateRoot) + delegateRoot.__delegateInitialized = true; }); } diff --git a/quickshell/Modules/Notifications/Center/NotificationCenterPopout.qml b/quickshell/Modules/Notifications/Center/NotificationCenterPopout.qml index cbd0bbef..ed886fd2 100644 --- a/quickshell/Modules/Notifications/Center/NotificationCenterPopout.qml +++ b/quickshell/Modules/Notifications/Center/NotificationCenterPopout.qml @@ -149,7 +149,7 @@ DankPopout { event.accepted = true; return; } - + if (event.key === Qt.Key_Left) { if (notificationHeader.currentTab > 0) { notificationHeader.currentTab = 0; @@ -165,7 +165,6 @@ DankPopout { } return; } - if (notificationHeader.currentTab === 1) { historyList.handleKey(event); return;