Fix invite page closing the wrong page

This fix #150
This commit is contained in:
Carl Schwan
2020-12-19 11:47:05 +01:00
parent 6e659c853b
commit 3fcb40f9dd
2 changed files with 3 additions and 5 deletions

View File

@@ -48,7 +48,7 @@ Kirigami.OverlayDrawer {
icon.name: "list-add-user"
text: i18n("Invite")
onClicked: {
applicationWindow().pageStack.push("qrc:/imports/NeoChat/Page/InviteUserPage.qml", {"room": room})
applicationWindow().pageStack.layers.push("qrc:/imports/NeoChat/Page/InviteUserPage.qml", {"room": room})
roomDrawer.close();
}
}