Fix opening account editor

This commit is contained in:
Tobias Fella
2024-04-15 17:48:26 +02:00
parent c0d7b96e79
commit 0daf45a465

View File

@@ -28,7 +28,7 @@ FormCard.FormCardPage {
id: accountDelegate
required property NeoChatConnection connection
Layout.fillWidth: true
onClicked: applicationWindow().pageStack.layers.push('AccountEditorPage', {
onClicked: applicationWindow().pageStack.layers.push(Qt.createComponent('org.kde.neochat.settings', 'AccountEditorPage'), {
connection: accountDelegate.connection
}, {
title: i18n("Account editor")