1
mirror of https://github.com/monero-project/monero-gui synced 2024-11-24 11:17:15 +01:00

WizardHome: restore binding of networkTypeDropdown.currentIndex when selecting an item; display networkTypeDropdown if stagenet or testnet is selected

This commit is contained in:
rating89us 2022-01-13 16:53:36 +01:00
parent a959919b8a
commit d752117ed3

View File

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