aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-02-05 21:41:07 -0500
committerluigi1111 <luigi1111w@gmail.com>2020-02-05 21:41:07 -0500
commit4b1a6eb49b17fa5eecddea9a06a9876a7c3f20c4 (patch)
tree1337cb06de7be03cbb2b5441b1eb9f79c02cb25b
parentdf614cd0a044d224f2dc699740c323e319dcacf5 (diff)
parente05e6346ac56eb6ff4542f1fa03ea6633510d3b8 (diff)
downloadmonzero-gui-4b1a6eb49b17fa5eecddea9a06a9876a7c3f20c4.tar.gz
monzero-gui-4b1a6eb49b17fa5eecddea9a06a9876a7c3f20c4.tar.xz
monzero-gui-4b1a6eb49b17fa5eecddea9a06a9876a7c3f20c4.zip
Merge pull request #2718
e05e634 Keys: rename keys section to primary address & keys, add primary address (rating89us)
-rw-r--r--pages/Keys.qml13
1 files changed, 12 insertions, 1 deletions
diff --git a/pages/Keys.qml b/pages/Keys.qml
index ed0837fe..930277de 100644
--- a/pages/Keys.qml
+++ b/pages/Keys.qml
@@ -131,7 +131,7 @@ Rectangle {
Layout.fillWidth: true
fontSize: 22
Layout.topMargin: 10
- text: qsTr("Keys") + translationManager.emptyString
+ text: qsTr("Primary address & Keys") + translationManager.emptyString
}
Rectangle {
Layout.fillWidth: true
@@ -140,8 +140,18 @@ Rectangle {
opacity: MoneroComponents.Style.dividerOpacity
Layout.bottomMargin: 10
}
+ MoneroComponents.LineEditMulti {
+ Layout.fillWidth: true
+ id: primaryAddress
+ readOnly: true
+ copyButton: true
+ wrapMode: Text.Wrap
+ labelText: qsTr("Primary address") + translationManager.emptyString
+ fontSize: 16
+ }
MoneroComponents.LineEdit {
Layout.fillWidth: true
+ Layout.topMargin: 25
id: secretViewKey
readOnly: true
copyButton: true
@@ -261,6 +271,7 @@ Rectangle {
function onPageCompleted() {
console.log("keys page loaded");
+ primaryAddress.text = currentWallet.address(0, 0)
walletCreationHeight.text = currentWallet.walletCreationHeight
secretViewKey.text = currentWallet.secretViewKey
publicViewKey.text = currentWallet.publicViewKey