aboutsummaryrefslogtreecommitdiffstats
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
parent78b6e7ad9531461f389c5de3cef10fc665607050 (diff)
downloaddexon-6451a7187a5eeff6ac819ded11b6e7f0a5aa1b1b.tar
dexon-6451a7187a5eeff6ac819ded11b6e7f0a5aa1b1b.tar.gz
dexon-6451a7187a5eeff6ac819ded11b6e7f0a5aa1b1b.tar.bz2
dexon-6451a7187a5eeff6ac819ded11b6e7f0a5aa1b1b.tar.lz
dexon-6451a7187a5eeff6ac819ded11b6e7f0a5aa1b1b.tar.xz
dexon-6451a7187a5eeff6ac819ded11b6e7f0a5aa1b1b.tar.zst
dexon-6451a7187a5eeff6ac819ded11b6e7f0a5aa1b1b.zip
Minor UI change
-rw-r--r--ui/library.go2
-rw-r--r--wallet.qml10
2 files changed, 11 insertions, 1 deletions
diff --git a/ui/library.go b/ui/library.go
index c9273e8c5..3bbb01314 100644
--- a/ui/library.go
+++ b/ui/library.go
@@ -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())
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})
}