From 7c1d37699b215ac0bb8b72b8721ef6d3a00c8550 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sun, 1 Aug 2021 14:17:21 +0300 Subject: Allow to change display name on the Settings page --- qml/SettingsPage.qml | 8 ++++++++ 1 file changed, 8 insertions(+) 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: " -- cgit v1.2.3-70-g09d2