Skip to content

Commit 251a9b5

Browse files
committed
Merge #326: Fix warnings when entering peers page
91063ea qml: fix "Unable to assign [undefined] to int" warning on peers page (jarolrod) 8227310 qml: fix un-initialized paused value in peers page PeersIndicator (jarolrod) Pull request description: Fixes #322 [![Windows](https://img.shields.io/badge/OS-Windows-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/win64/unsecure_win_gui.zip?branch=pull/326) [![Intel macOS](https://img.shields.io/badge/OS-Intel%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos/unsecure_mac_gui.zip?branch=pull/326) [![Apple Silicon macOS](https://img.shields.io/badge/OS-Apple%20Silicon%20macOS-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/macos_arm64/unsecure_mac_arm64_gui.zip?branch=pull/326) [![ARM64 Android](https://img.shields.io/badge/OS-Android-green)](https://api.cirrus-ci.com/v1/artifact/github/bitcoin-core/gui-qml/android/unsecure_android_apk.zip?branch=pull/326) ACKs for top commit: johnny9: ACK 91063ea hebasto: ACK 91063ea, tested on Ubuntu 23.04 (Qt 5.15.8). Tree-SHA512: e98e19318a0a85fb979c5a3a81c195072d217bf976a92d6d7b496c7d9e5d02f60b9f2f9fe3c21508c2c93bcf19dc33840121634494650e70b6bc9705345a542a
2 parents ae512b8 + 91063ea commit 251a9b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/qml/pages/node/Peers.qml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Page {
3636
height: toggleButtons.height
3737
contentWidth: toggleButtons.width
3838
boundsMovement: width == toggleButtons.width ?
39-
Flickable.StopAtBound : Flickable.FollowBoundsBehavior
39+
Flickable.StopAtBounds : Flickable.FollowBoundsBehavior
4040
RowLayout {
4141
id: toggleButtons
4242
spacing: 10
@@ -107,6 +107,7 @@ Page {
107107
anchors.centerIn: parent
108108
spacing: 20
109109
PeersIndicator {
110+
paused: false
110111
numOutboundPeers: nodeModel.numOutboundPeers
111112
maxNumOutboundPeers: nodeModel.maxNumOutboundPeers
112113
}

0 commit comments

Comments
 (0)