Minor UI change

This commit is contained in:
obscuren
2014-02-25 10:55:44 +01:00
parent 78b6e7ad95
commit 6451a7187a
2 changed files with 11 additions and 1 deletions

View File

@@ -221,6 +221,10 @@ ApplicationWindow {
text: "Import App"
}
Label {
id: walletValueLabel
}
Label {
anchors.right: peerImage.left
anchors.rightMargin: 5
@@ -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})
}