mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-22 19:49:34 +00: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
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue