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:
parent
a959919b8a
commit
d752117ed3
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user