Fix pushing welcome page onto layer

BUG: 510285
This commit is contained in:
Tobias Fella
2025-10-08 14:54:21 +02:00
committed by Tobias Fella
parent 52d4451932
commit 00c81de035

View File

@@ -117,7 +117,7 @@ FormCard.FormCardPage {
id: addAccountDelegate
text: i18n("Add Account")
icon.name: "list-add"
onClicked: root.QQC2.ApplicationWindow.window.pageStack.layers.push(Qt.createComponent('org.kde.neochat.login', 'WelcomePage'), { showSettings: false })
onClicked: (root.Kirigami.PageStack.pageStack as Kirigami.PageRow).pushDialogLayer(Qt.createComponent('org.kde.neochat.login', 'WelcomePage'), { showSettings: false })
}
}