File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -927,7 +927,8 @@ ApplicationWindow {
927
927
model: peerModel
928
928
TableViewColumn{width: 180 ; role: " addr" ; title: " Remote Address" }
929
929
TableViewColumn{width: 280 ; role: " nodeID" ; title: " Node ID" }
930
- TableViewColumn{width: 180 ; role: " caps" ; title: " Capabilities" }
930
+ TableViewColumn{width: 100 ; role: " name" ; title: " Name" }
931
+ TableViewColumn{width: 40 ; role: " caps" ; title: " Capabilities" }
931
932
}
932
933
}
933
934
}
Original file line number Diff line number Diff line change @@ -466,7 +466,7 @@ NumGC: %d
466
466
))
467
467
}
468
468
469
- type qmlpeer struct { Addr , NodeID , Caps string }
469
+ type qmlpeer struct { Addr , NodeID , Name , Caps string }
470
470
471
471
type peersByID []* qmlpeer
472
472
@@ -481,6 +481,7 @@ func (gui *Gui) setPeerInfo() {
481
481
qpeers [i ] = & qmlpeer {
482
482
NodeID : p .ID ().String (),
483
483
Addr : p .RemoteAddr ().String (),
484
+ Name : p .Name (),
484
485
Caps : fmt .Sprint (p .Caps ()),
485
486
}
486
487
}
You can’t perform that action at this time.
0 commit comments