mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-22 11:39:31 +00:00
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:
commit
78e3b947d1
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue