diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-22 17:58:28 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-22 17:58:28 +0800 |
commit | 8130df63caa719831aeb05f56683ea7439f4af0e (patch) | |
tree | b0bc63ab5014970d8bb13308720b25b2f54fcb30 /cmd | |
parent | 0e5aed63ddbda716ba7373bed7cfc083ec35ced1 (diff) | |
download | dexon-8130df63caa719831aeb05f56683ea7439f4af0e.tar.gz dexon-8130df63caa719831aeb05f56683ea7439f4af0e.tar.zst dexon-8130df63caa719831aeb05f56683ea7439f4af0e.zip |
updated whisper ui
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/mist/assets/qml/views/whisper.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/mist/assets/qml/views/whisper.qml b/cmd/mist/assets/qml/views/whisper.qml index b43ea4f8b..80d401301 100644 --- a/cmd/mist/assets/qml/views/whisper.qml +++ b/cmd/mist/assets/qml/views/whisper.qml @@ -25,7 +25,7 @@ Rectangle { } function onMessage(message) { - whisperModel.insert(0, {data: JSON.stringify({from: message.from, payload: eth.toAscii(message.payload)})}) + whisperModel.insert(0, {from: message.from, payload: eth.toAscii(message.payload)}) } RowLayout { @@ -66,7 +66,8 @@ Rectangle { left: parent.left right: parent.right } - TableViewColumn{ role: "data" ; title: "Data" ; width: parent.width - 2 } + TableViewColumn{ id: fromRole; role: "from" ; title: "From"; width: 300 } + TableViewColumn{ role: "payload" ; title: "Payload" ; width: parent.width - fromRole.width - 2 } model: ListModel { id: whisperModel |