Make the Notifications window non-modal

Tapping on a notification here doesn't close the window. Additionally,
you need to tap it several times for NeoChat to scroll up in a room.

Considering all of this, it would make more sense for this window to be
non-modal for now so you can have the Notifications window open while
using the main NeoChat window.
This commit is contained in:
Joshua Goins
2025-02-18 20:44:30 -05:00
parent 9020e2c7cb
commit 9264ad26d6

View File

@@ -65,7 +65,8 @@ QQC2.Control {
onSelected: pageStack.pushDialogLayer(Qt.createComponent('org.kde.neochat', 'NotificationsView'), {
connection: root.connection
}, {
title: i18nc("@title", "Notifications")
title: i18nc("@title", "Notifications"),
modality: Qt.NonModal
})
}