Fix InviteUserPage

Port the InviteUserPage to Qt6 and fix close action

fixes network/neochat#614
This commit is contained in:
James Graham
2023-11-05 13:45:10 +00:00
committed by Tobias Fella
parent 1d95d5aa15
commit 5adffddbd8

View File

@@ -18,13 +18,13 @@ Kirigami.ScrollablePage {
title: i18n("Invite a User")
actions {
main: Kirigami.Action {
actions: [
Kirigami.Action {
icon.name: "dialog-close"
text: i18nc("@action", "Cancel")
onTriggered: applicationWindow().pageStack.layers.pop()
onTriggered: root.closeDialog()
}
}
]
header: RowLayout {
Layout.fillWidth: true
Layout.margins: Kirigami.Units.largeSpacing