Fix InviteUserPage
Port the InviteUserPage to Qt6 and fix close action fixes network/neochat#614
This commit is contained in:
committed by
Tobias Fella
parent
1d95d5aa15
commit
5adffddbd8
@@ -18,13 +18,13 @@ Kirigami.ScrollablePage {
|
|||||||
|
|
||||||
title: i18n("Invite a User")
|
title: i18n("Invite a User")
|
||||||
|
|
||||||
actions {
|
actions: [
|
||||||
main: Kirigami.Action {
|
Kirigami.Action {
|
||||||
icon.name: "dialog-close"
|
icon.name: "dialog-close"
|
||||||
text: i18nc("@action", "Cancel")
|
text: i18nc("@action", "Cancel")
|
||||||
onTriggered: applicationWindow().pageStack.layers.pop()
|
onTriggered: root.closeDialog()
|
||||||
}
|
}
|
||||||
}
|
]
|
||||||
header: RowLayout {
|
header: RowLayout {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.margins: Kirigami.Units.largeSpacing
|
Layout.margins: Kirigami.Units.largeSpacing
|
||||||
|
|||||||
Reference in New Issue
Block a user