aboutsummaryrefslogtreecommitdiffstats
path: root/wallet.qml
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-02-25 17:55:44 +0800
committerobscuren <geffobscura@gmail.com>2014-02-25 17:55:44 +0800
commit6451a7187a5eeff6ac819ded11b6e7f0a5aa1b1b (patch)
tree3ff07b95dba042b5d8fd5e25247f82f220a30db2 /wallet.qml
parent78b6e7ad9531461f389c5de3cef10fc665607050 (diff)
downloadgo-tangerine-6451a7187a5eeff6ac819ded11b6e7f0a5aa1b1b.tar
go-tangerine-6451a7187a5eeff6ac819ded11b6e7f0a5aa1b1b.tar.gz
go-tangerine-6451a7187a5eeff6ac819ded11b6e7f0a5aa1b1b.tar.bz2
go-tangerine-6451a7187a5eeff6ac819ded11b6e7f0a5aa1b1b.tar.lz
go-tangerine-6451a7187a5eeff6ac819ded11b6e7f0a5aa1b1b.tar.xz
go-tangerine-6451a7187a5eeff6ac819ded11b6e7f0a5aa1b1b.tar.zst
go-tangerine-6451a7187a5eeff6ac819ded11b6e7f0a5aa1b1b.zip
Minor UI change
Diffstat (limited to 'wallet.qml')
-rw-r--r--wallet.qml10
1 files changed, 9 insertions, 1 deletions
diff --git a/wallet.qml b/wallet.qml
index e7145cef3..3e921b78d 100644
--- a/wallet.qml
+++ b/wallet.qml
@@ -222,6 +222,10 @@ ApplicationWindow {
}
Label {
+ id: walletValueLabel
+ }
+
+ Label {
anchors.right: peerImage.left
anchors.rightMargin: 5
id: peerLabel
@@ -270,7 +274,7 @@ ApplicationWindow {
text: "Add"
onClicked: {
ui.connectToPeer(addrField.text)
- addrPeerWin.visible = false
+ addPeerWin.visible = false
}
}
}
@@ -291,6 +295,10 @@ ApplicationWindow {
}
+ function setWalletValue(value) {
+ walletValueLabel.text = value
+ }
+
function addTx(tx) {
txModel.insert(0, {hash: tx.hash, address: tx.address, value: tx.value})
}