File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 15
15
id: root
16
16
property real parentWidth: 600
17
17
property real parentHeight: 600
18
+ property bool showNetworkIndicator: true
18
19
19
20
width: dial .width
20
21
height: dial .height + networkIndicator .height + networkIndicator .anchors .topMargin
@@ -146,6 +147,7 @@ Item {
146
147
147
148
NetworkIndicator {
148
149
id: networkIndicator
150
+ show: root .showNetworkIndicator
149
151
anchors .top : dial .bottom
150
152
anchors .topMargin : networkIndicator .visible ? 30 : 0
151
153
anchors .horizontalCenter : root .horizontalCenter
Original file line number Diff line number Diff line change @@ -12,12 +12,13 @@ import org.bitcoincore.qt 1.0
12
12
Button {
13
13
id: root
14
14
property color bgColor
15
+ property bool show: true
15
16
property int textSize: 15
16
17
topPadding: 2
17
18
bottomPadding: 2
18
19
leftPadding: 7
19
20
rightPadding: 7
20
- state: chainModel .currentNetworkName
21
+ state: show ? chainModel .currentNetworkName : " MAIN "
21
22
contentItem: CoreText {
22
23
text: root .text
23
24
font .pixelSize : root .textSize
Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ Page {
111
111
parentWidth: parent .width - 40
112
112
parentHeight: parent .height
113
113
anchors .centerIn : parent
114
+ showNetworkIndicator: false
114
115
}
115
116
}
116
117
NodeSettings {
You can’t perform that action at this time.
0 commit comments