diff options
author | link2xt <link2xt@testrun.org> | 2021-02-20 00:13:07 +0300 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-02-20 00:13:07 +0300 |
commit | 429338fba9a3102bc91966f2df4f95dcdaa32fe1 (patch) | |
tree | 4114860ea905f63b14c5ea6f91954c35fc283f08 /qml/ConfigurePage.qml | |
parent | 913cca96717c7a2d81162c6af593dfcad98653a8 (diff) | |
download | kdeltachat-429338fba9a3102bc91966f2df4f95dcdaa32fe1.tar.gz kdeltachat-429338fba9a3102bc91966f2df4f95dcdaa32fe1.zip |
Start configuration when "Login" is clicked
Diffstat (limited to 'qml/ConfigurePage.qml')
-rw-r--r-- | qml/ConfigurePage.qml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/qml/ConfigurePage.qml b/qml/ConfigurePage.qml index 6b2e4c8..15edead 100644 --- a/qml/ConfigurePage.qml +++ b/qml/ConfigurePage.qml @@ -4,8 +4,13 @@ import QtQuick.Layouts 1.12 import QtQml.Models 2.1 import org.kde.kirigami 2.12 as Kirigami +import DeltaChat 1.0 + Kirigami.Page { title: qsTr("Configure account") + id: configurePage + + property DcContext context ColumnLayout { anchors.fill: parent @@ -25,6 +30,9 @@ Kirigami.Page { text: "Login" onClicked: { console.log("Login") + configurePage.context.setConfig("addr", addressField.text) + configurePage.context.setConfig("mail_pw", passwordField.text) + configurePage.context.configure() } } } |