Merge pull request #3817

d752117 WizardHome: restore binding of networkTypeDropdown.currentIndex when selecting an item; display networkTypeDropdown if stagenet or testnet is selected (rating89us)
This commit is contained in:
luigi1111 2022-01-24 15:24:45 -05:00
commit 78e3b947d1
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -212,6 +212,7 @@ Rectangle {
persistentSettings.nettype = NetworkType.TESTNET
}
appWindow.disconnectRemoteNode()
networkTypeDropdown.currentIndex = Qt.binding(function() { return persistentSettings.nettype });
}
}
@ -251,5 +252,8 @@ Rectangle {
function onPageCompleted(){
wizardController.walletOptionsIsRecoveringFromDevice = false;
if (networkTypeDropdown.currentIndex != 0) {
showAdvancedCheckbox.checked = true;
}
}
}