Fixed peer window. Minor tweaks and fixes

This commit is contained in:
obscuren
2015-01-05 19:53:53 +01:00
parent 22c0c5465a
commit c9985bf563
8 changed files with 37 additions and 53 deletions

View File

@ -512,18 +512,17 @@ ApplicationWindow {
var section;
switch(options.section) {
case "ethereum":
section = menuDefault;
break;
section = menuDefault;
break;
case "legacy":
section = menuLegacy;
break;
section = menuLegacy;
break;
default:
section = menuApps;
break;
section = menuApps;
break;
}
var comp = menuItemTemplate.createObject(section)
comp.view = view
comp.title = view.title
@ -771,12 +770,9 @@ ApplicationWindow {
anchors.fill: parent
id: peerTable
model: peerModel
TableViewColumn{width: 100; role: "ip" ; title: "IP" }
TableViewColumn{width: 60; role: "port" ; title: "Port" }
TableViewColumn{width: 140; role: "lastResponse"; title: "Last event" }
TableViewColumn{width: 100; role: "latency"; title: "Latency" }
TableViewColumn{width: 200; role: "ip" ; title: "IP" }
TableViewColumn{width: 260; role: "version" ; title: "Version" }
TableViewColumn{width: 80; role: "caps" ; title: "Capabilities" }
TableViewColumn{width: 180; role: "caps" ; title: "Capabilities" }
}
}
}