aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-08-01 14:17:21 +0300
committerlink2xt <link2xt@testrun.org>2021-08-01 14:17:21 +0300
commit7c1d37699b215ac0bb8b72b8721ef6d3a00c8550 (patch)
treee36613cf504b1523d1021c18579fa2671e39217c
parentcd5b0ec5d143801bd25ffa293688e907acce827b (diff)
downloadkdeltachat-7c1d37699b215ac0bb8b72b8721ef6d3a00c8550.tar.gz
kdeltachat-7c1d37699b215ac0bb8b72b8721ef6d3a00c8550.zip
Allow to change display name on the Settings page
-rw-r--r--qml/SettingsPage.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/qml/SettingsPage.qml b/qml/SettingsPage.qml
index 04b95df..cd702ab 100644
--- a/qml/SettingsPage.qml
+++ b/qml/SettingsPage.qml
@@ -21,6 +21,14 @@ Kirigami.Page {
source: "file:" + settingsPageRoot.context.getConfig("selfavatar")
}
+ TextField {
+ id: displayNameField
+
+ Kirigami.FormData.label: "Name: "
+ text: settingsPageRoot.context.getConfig("displayname")
+ onEditingFinished: settingsPageRoot.context.setConfig("displayname", text)
+ }
+
TextArea {
Kirigami.FormData.label: "Signature: "