aboutsummaryrefslogtreecommitdiffstats
path: root/wallet.qml
diff options
context:
space:
mode:
Diffstat (limited to 'wallet.qml')
-rw-r--r--wallet.qml7
1 files changed, 4 insertions, 3 deletions
diff --git a/wallet.qml b/wallet.qml
index 6ee6ff110..e7145cef3 100644
--- a/wallet.qml
+++ b/wallet.qml
@@ -23,7 +23,7 @@ ApplicationWindow {
Button {
text: "Send"
onClicked: {
- console.log(eth.createTx(txReceiver.text, txAmount.text))
+ console.log(eth.createTx(txReceiver.text, txAmount.text, codeView.text))
}
}
@@ -300,8 +300,9 @@ ApplicationWindow {
}
function addLog(str) {
- console.log(str)
- logModel.insert(0, {description: str})
+ if(str.len != 0) {
+ logModel.append({description: str})
+ }
}
function setPeers(text) {