diff options
Diffstat (limited to 'wallet.qml')
-rw-r--r-- | wallet.qml | 10 |
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}) } |