diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-18 10:02:38 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-18 10:02:38 +0800 |
commit | ab313930e5ecc2bdfd01f427eab25b9d5db5ac1e (patch) | |
tree | 79907323f2c3ec95cf7b31dace665210298ea10f /pages | |
parent | 89f51b5ac3566587546bf53bfbf38585b77e7879 (diff) |
Reset title on logged account profile page
Diffstat (limited to 'pages')
-rw-r--r-- | pages/CreateProfileForm.ui.qml | 3 | ||||
-rw-r--r-- | pages/Profile.qml | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/pages/CreateProfileForm.ui.qml b/pages/CreateProfileForm.ui.qml index ab1f828..ac594c8 100644 --- a/pages/CreateProfileForm.ui.qml +++ b/pages/CreateProfileForm.ui.qml @@ -8,6 +8,7 @@ Rectangle { color: "#fff" property alias backButton: backButton + property alias titleLabel: titleLabel property alias skipButton: skipButton property alias enterFullName: enterFullName property alias userNameLabel: userNameLabel @@ -39,7 +40,7 @@ Rectangle { highlighted: true } Label { - id: title + id: titleLabel text: qsTr("Create Profile") font.weight: Font.Medium wrapMode: Text.WordWrap diff --git a/pages/Profile.qml b/pages/Profile.qml index 46dd468..b72b108 100644 --- a/pages/Profile.qml +++ b/pages/Profile.qml @@ -5,6 +5,7 @@ CreateProfileForm { width: stackView.width height: stackView.height backButton.onClicked: stackView.pop() + titleLabel.text: qsTr("Edit Profile") skipButton.onClicked: { login.ticketSearch(User.name) stackView.push("qrc:/pages/Home.qml") |