good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open
bor
Commits
218f437b
Commit
218f437b
authored
Feb 13, 2015
by
Jeffrey Wilcke
Browse files
Options
Downloads
Patches
Plain Diff
Updated window
parent
7336dfad
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmd/mist/assets/qml/main.qml
+6
-20
6 additions, 20 deletions
cmd/mist/assets/qml/main.qml
with
6 additions
and
20 deletions
cmd/mist/assets/qml/main.qml
+
6
−
20
View file @
218f437b
...
...
@@ -1054,38 +1054,24 @@ ApplicationWindow {
Window
{
id
:
addPeerWin
visible
:
false
minimumWidth
:
3
00
maximumWidth
:
3
00
minimumWidth
:
4
00
maximumWidth
:
4
00
maximumHeight
:
50
minimumHeight
:
50
title
:
"
Connect to peer
"
ComboBox
{
TextField
{
id
:
addrField
anchors.verticalCenter
:
parent
.
verticalCenter
anchors.left
:
parent
.
left
anchors.right
:
addPeerButton
.
left
anchors.leftMargin
:
10
anchors.rightMargin
:
10
placeholderText
:
"
enode://<hex node id>:<IP address>:<port>
"
onAccepted
:
{
eth
.
connectToPeer
(
addrField
.
currentT
ext
)
eth
.
connectToPeer
(
addrField
.
t
ext
)
addPeerWin
.
visible
=
false
}
editable
:
true
model
:
ListModel
{
id
:
pastPeers
}
Component.onCompleted
:
{
pastPeers
.
insert
(
0
,
{
text
:
"
poc-8.ethdev.com:30303
"
})
/*
var ips = eth.pastPeers()
for(var i = 0; i < ips.length; i++) {
pastPeers.append({text: ips.get(i)})
}
pastPeers.insert(0, {text: "poc-7.ethdev.com:30303"})
*/
}
}
Button
{
...
...
@@ -1093,7 +1079,7 @@ ApplicationWindow {
anchors.right
:
parent
.
right
anchors.verticalCenter
:
parent
.
verticalCenter
anchors.rightMargin
:
10
text
:
"
Add
"
text
:
"
Connect
"
onClicked
:
{
eth
.
connectToPeer
(
addrField
.
currentText
)
addPeerWin
.
visible
=
false
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment