Commit 8130df63 authored by obscuren's avatar obscuren

updated whisper ui

parent 0e5aed63
......@@ -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
......
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