Commit 6451a718 authored by obscuren's avatar obscuren

Minor UI change

parent 78b6e7ad
......@@ -40,6 +40,8 @@ func (lib *EthLib) CreateTx(receiver, a, data string) string {
if len(receiver) == 0 {
ethutil.Config.Log.Infof("Contract addr %x", tx.Hash()[12:])
} else {
ethutil.Config.Log.Infof("Tx hash %x", tx.Hash())
}
return ethutil.Hex(tx.Hash())
......
......@@ -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})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment