Don't show the "Settings" button when adding a new account

As much as I like opening Settings while I'm in Settings, this
doesn't make much sense.
This commit is contained in:
Joshua Goins
2025-02-22 13:56:16 -05:00
parent 2861eb9c60
commit db36f187dc
2 changed files with 3 additions and 1 deletions

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'))
onClicked: root.QQC2.ApplicationWindow.window.pageStack.layers.push(Qt.createComponent('org.kde.neochat.login', 'WelcomePage'), { showSettings: false })
}
}