From ab313930e5ecc2bdfd01f427eab25b9d5db5ac1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Wed, 18 Sep 2019 10:02:38 +0800 Subject: Reset title on logged account profile page --- pages/CreateProfileForm.ui.qml | 3 ++- pages/Profile.qml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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") -- cgit v1.2.3