File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 20
20
property alias headerSize: mainText .font .pixelSize
21
21
property alias subText: subText .text
22
22
property int headerSize: 32
23
+ property bool connected: nodeModel .numOutboundPeers > 0
23
24
property bool synced: nodeModel .verificationProgress > 0.999
24
25
property bool paused: false
25
- property bool conns: true
26
26
27
27
BlockClockDial {
28
28
id: dial
85
85
86
86
states: [
87
87
State {
88
- name: " IBD" ; when: ! synced && ! paused && conns
88
+ name: " IBD" ; when: ! synced && ! paused && connected
89
89
PropertyChanges {
90
90
target: root
91
91
header: Math .round (nodeModel .verificationProgress * 100 ) + " %"
94
94
},
95
95
96
96
State {
97
- name: " BLOCKCLOCK" ; when: synced && ! paused && conns
97
+ name: " BLOCKCLOCK" ; when: synced && ! paused && connected
98
98
PropertyChanges {
99
99
target: root
100
100
header: Number (nodeModel .blockTipHeight ).toLocaleString (Qt .locale (), ' f' , 0 )
@@ -121,7 +121,7 @@ Item {
121
121
},
122
122
123
123
State {
124
- name: " CONNECTING" ; when: ! paused && ! conns
124
+ name: " CONNECTING" ; when: ! paused && ! connected
125
125
PropertyChanges {
126
126
target: root
127
127
header: " Connecting"
You can’t perform that action at this time.
0 commit comments